- 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
- ed25519_new_keypair/1
- ed25519_seed_keypair/2
- ed25519_keypair_public_key/2
- ed25519_sign/4
- ed25519_verify/4
- curve25519_generator/1
- curve25519_scalar_mult/3
- 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
- ssl
- ed25519_sign(+KeyPair, +Data, -Signature, +Options) is det
- Create an Ed25519 (RFC 8032) signature for Data with the private
key of KeyPair, as created by ed25519_new_keypair/1 or obtained
with load_private_key/3. Signature is a hexadecimal atom.
Options:
- encoding(+Encoding)
- Encoding to use for Data. Default is
utf8. Alternatives areoctet,textandhex. Note that this differs from ecdsa_sign/4 and rsa_sign/4, which default tohexbecause they are typically applied to a hash of the data. Ed25519 signs the data itself.