"Sputnik" help |

Sputnik
Help

Description

The **BinarySha384** function is used to calculate the **SHA-384**
hash of a binary string. **SHA-384** (Secure Hash Algorithm 384-bit)
is a cryptographic hash function that produces a 384-bit (48-byte) hash value.
The function takes the binary string as input and returns the **SHA-384**
hash as a binary string.

Parameters

<binary> | The binary string for which the SHA-384 hash
is to be calculated. |

Return Value

Success: | Returns the SHA-384 hash of the input binary
string as a binary string. |

Failure: | Returns empty string. |

Remarks

The **SHA-384** hash is a fixed-length binary string of 48 bytes.

**SHA-384** is part of the **SHA-2** family of hash
functions and is commonly used for data integrity checks, digital signatures,
and secure data transmission.

It provides a higher level of security than **SHA-256** due to
its longer hash length.

Related

BinaryMd5, BinarySha1, BinarySha256, BinarySha512, BinarySha3Example

Example of usage:

my$bin=(Binary)"Hello World!";say BinarySha384($bin);// PRINTS// BFD76C0EBBD006FEE583410547C1887B0292BE76D582D96C242D2A792723E3FD6FD061F9D5CFD13B8F961358E6ADBA4A

Contact

Cheryl (uberfox@hotmail.com)

Homepage

http://ubersoft.org