- ext
- ssl
- ssl.pl -- Secure Socket Layer (SSL) library
- crypto.pl -- Cryptography and authentication library
- crypto_n_random_bytes/2
- crypto_data_hash/3
- crypto_file_hash/3
- crypto_context_new/2
- crypto_data_context/3
- crypto_context_hash/2
- crypto_open_hash_stream/3
- crypto_stream_hash/2
- crypto_password_hash/2
- crypto_password_hash/3
- crypto_data_hkdf/4
- ecdsa_sign/4
- ecdsa_verify/4
- hex_bytes/2
- rsa_private_decrypt/4
- rsa_private_encrypt/4
- rsa_public_decrypt/4
- rsa_public_encrypt/4
- rsa_sign/4
- rsa_verify/4
- crypto_data_decrypt/6
- crypto_data_encrypt/6
- crypto_modular_inverse/3
- crypto_generate_prime/3
- crypto_is_prime/2
- crypto_name_curve/2
- crypto_curve_order/2
- crypto_curve_generator/2
- crypto_curve_scalar_mult/4
- xmldsig.pl -- XML Digital signature
- xmlenc.pl -- XML encryption library
- ssl
- hex_bytes(?Hex, ?List) is det
- Relation between a hexadecimal sequence and a list of bytes. Hex
is an atom, string, list of characters or list of codes in
hexadecimal encoding. This is the format that is used by
crypto_data_hash/3 and related predicates to represent hashes.
Bytes is a list of integers between 0 and 255 that represent the
sequence as a list of bytes. At least one of the arguments must
be instantiated. When converting List to Hex, an atom is used
to represent the sequence of hexadecimal digits.
Example:
?- hex_bytes('501ACE', Bs). Bs = [80, 26, 206].
- See also
- - base64_encoded/3 for Base64 encoding, which is often used to transfer or embed binary data in applications.