pandect.algo.sha384

SHA-384 algorithm implementation

sha384

(sha384 x)
[Hash] SHA-384 (value -> string)

sha384*

(sha384* x)
[Hash] SHA-384 (raw value)

sha384-bytes

(sha384-bytes x)
[Hash] SHA-384 (value -> byte array)

sha384-file

(sha384-file x)
[Hash] SHA-384 (file path -> string)

sha384-file*

(sha384-file* x)
[Hash] SHA-384 (raw value)

sha384-file-bytes

(sha384-file-bytes x)
[Hash] SHA-384 (file path -> byte array)

sha384-hmac

(sha384-hmac x secret)
[HMAC] HmacSHA384 (value -> string)

'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.

sha384-hmac*

(sha384-hmac* x secret)
[HMAC] HmacSHA384 (raw value)

'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.

sha384-hmac-bytes

(sha384-hmac-bytes x secret)
[HMAC] HmacSHA384 (value -> byte array)

'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.

sha384-hmac-file

(sha384-hmac-file x secret)
[HMAC] HmacSHA384 (file path -> string)

'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.

sha384-hmac-file*

(sha384-hmac-file* x secret)
[HMAC] HmacSHA384 (raw value)

'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.

sha384-hmac-file-bytes

(sha384-hmac-file-bytes x secret)
[HMAC] HmacSHA384 (file path -> byte array)

'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.

sha384-rsa

(sha384-rsa x private-key)
[Signature] SHA384withRSA (value -> string)

Sign the given message using the given java.security.PrivateKey.

sha384-rsa*

(sha384-rsa* x private-key)
[Signature] SHA384withRSA (raw value)

Sign the given message using the given java.security.PrivateKey.

sha384-rsa-bytes

(sha384-rsa-bytes x private-key)
[Signature] SHA384withRSA (value -> byte array)

Sign the given message using the given java.security.PrivateKey.

sha384-rsa-file

(sha384-rsa-file x private-key)
[Signature] SHA384withRSA (file path -> string)

Sign the given message using the given java.security.PrivateKey.

sha384-rsa-file*

(sha384-rsa-file* x private-key)
[Signature] SHA384withRSA (raw value)

Sign the given message using the given java.security.PrivateKey.

sha384-rsa-file-bytes

(sha384-rsa-file-bytes x private-key)
[Signature] SHA384withRSA (file path -> byte array)

Sign the given message using the given java.security.PrivateKey.

sha384-rsa-verify

(sha384-rsa-verify x signature public-key)
[Signature] SHA384withRSA

Verify the given message signature using the given public key (anything implementing `pandect.utils.convert/PublicKeyConvertable`)

The signature can be given as a byte array, hex (!) string, java.io.File,
java.io.InputStream or anything implementing `pandect.utils.convert/ByteConvertable`.

sha384-rsa-verify-file

(sha384-rsa-verify-file x signature public-key)
[Signature] SHA384withRSA

Verify the given message signature using the given public key (anything implementing `pandect.utils.convert/PublicKeyConvertable`)

The signature can be given as a byte array, hex (!) string, java.io.File,
java.io.InputStream or anything implementing `pandect.utils.convert/ByteConvertable`.