https://github.com/caolan/chicken-sodium
CHICKEN Scheme bindings to libsodium crypto library
https://github.com/caolan/chicken-sodium
Last synced: about 1 month ago
JSON representation
CHICKEN Scheme bindings to libsodium crypto library
- Host: GitHub
- URL: https://github.com/caolan/chicken-sodium
- Owner: caolan
- Created: 2017-02-25T12:18:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-07T14:02:30.000Z (about 9 years ago)
- Last Synced: 2025-07-12T03:50:31.444Z (8 months ago)
- Language: Scheme
- Size: 11.7 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
Awesome Lists containing this project
- awesome-cryptography - chicken-sodium - Bindings to libsodium crypto library for Chicken Scheme. (Frameworks and Libs / Scheme)
- fucking-awesome-cryptography - chicken-sodium - Bindings to libsodium crypto library for Chicken Scheme. (Frameworks and Libs / Scheme)
README
# CHICKEN Scheme bindings to libsodium
A work in progress. See [libsodium.org](https://libsodium.org) for
more details.
Procedures:
- (sodium-init)
- (constant-time-blob=? a b len)
- (bin->hex bin)
- (hex->bin hex #!optional ignore)
- (generic-hash data #!key (size generic-hash-bytes) key) => blob
- (generic-hash-init #!key (size generic-hash-bytes) key) => state
- (generic-hash-update state data)
- (generic-hash-final state) => blob
- (sign-keypair) => (values public-key private-key)
- (sign-ed25519-secret-key->public-key secret-key) => public-key
- (sign-detached data secret-key) => signature
- (sign-verify-detached signature data public-key) => boolean
- (sign-ed25519-public-key->curve25519 ed25519-public-key) => curve25519-public-key
- (sign-ed25519-secret-key->curve25519 ed25519-secret-key) => curve25519-secret-key
Constants:
- generic-hash-bytes
- generic-hash-bytes-min
- generic-hash-bytes-max
- generic-hash-key-bytes
- generic-hash-key-bytes-min
- generic-hash-key-bytes-max
- sign-public-key-bytes
- sign-secret-key-bytes
- sign-bytes
- scalarmult-curve25519-bytes