Open topic with navigationDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
SecurityLocalGenerateSHA512
CAPL Functions » Security » SecurityLocalGenerateSHA512Valid for:
- CANoe DE
- CANoe4SW DE
Note
Replaces LocalSecurityGenerateSHA512.Function Syntax
Description
Generates a SHA512 hash for the given data and using the given key.Parameters
- byte data[]: The data to encrypt.
- dword dataLength: The length of the data to encrypt.
- byte sha512[] [Out]: The generated SHA512 hash.
- dword sha512Length [In/Out]: The length of the generated SHA512 hash (64 bytes).
Return Values
- 1: Success. A value of 1 means that the action was successful.
- <= 0: Error. A value less than or equal to 0 means error.