pandect.algo.sha512
SHA-512 algorithm implementation
sha512
(sha512 x)
[Hash] SHA-512 (value -> string)
sha512*
(sha512* x)
[Hash] SHA-512 (raw value)
sha512-bytes
(sha512-bytes x)
[Hash] SHA-512 (value -> byte array)
sha512-file
(sha512-file x)
[Hash] SHA-512 (file path -> string)
sha512-file*
(sha512-file* x)
[Hash] SHA-512 (raw value)
sha512-file-bytes
(sha512-file-bytes x)
[Hash] SHA-512 (file path -> byte array)
sha512-hmac
(sha512-hmac x secret)
[HMAC] HmacSHA512 (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`.
sha512-hmac*
(sha512-hmac* x secret)
[HMAC] HmacSHA512 (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`.
sha512-hmac-bytes
(sha512-hmac-bytes x secret)
[HMAC] HmacSHA512 (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`.
sha512-hmac-file
(sha512-hmac-file x secret)
[HMAC] HmacSHA512 (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`.
sha512-hmac-file*
(sha512-hmac-file* x secret)
[HMAC] HmacSHA512 (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`.
sha512-hmac-file-bytes
(sha512-hmac-file-bytes x secret)
[HMAC] HmacSHA512 (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`.
sha512-rsa
(sha512-rsa x private-key)
[Signature] SHA512withRSA (value -> string)
Sign the given message using the given java.security.PrivateKey.
sha512-rsa*
(sha512-rsa* x private-key)
[Signature] SHA512withRSA (raw value)
Sign the given message using the given java.security.PrivateKey.
sha512-rsa-bytes
(sha512-rsa-bytes x private-key)
[Signature] SHA512withRSA (value -> byte array)
Sign the given message using the given java.security.PrivateKey.
sha512-rsa-file
(sha512-rsa-file x private-key)
[Signature] SHA512withRSA (file path -> string)
Sign the given message using the given java.security.PrivateKey.
sha512-rsa-file*
(sha512-rsa-file* x private-key)
[Signature] SHA512withRSA (raw value)
Sign the given message using the given java.security.PrivateKey.
sha512-rsa-file-bytes
(sha512-rsa-file-bytes x private-key)
[Signature] SHA512withRSA (file path -> byte array)
Sign the given message using the given java.security.PrivateKey.
sha512-rsa-verify
(sha512-rsa-verify x signature public-key)
[Signature] SHA512withRSA
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`.
sha512-rsa-verify-file
(sha512-rsa-verify-file x signature public-key)
[Signature] SHA512withRSA
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`.