Cuis-Smalltalk-Crypto-NaCl

Description

Cuis Foreign Function Interface to the NaCl ('Salt') Cryptographic Library

Details

Source
GitHub
Dialect
cuis (25% confidence)
Stars
4
Created
Aug. 11, 2013
Updated
Dec. 11, 2023

Categories

Math

README excerpt

Cuis-NaCl
==========
Tested with Cuis 6.0 revision 5677; libsodium 1.0.18 on Aarch64 processor

### Cuis interface to NaCl (pronounced "salt") cryptographic library

Ported to Cuis from the Squeak/Pharo code originally by Tony Garnock-Jones
  http://www.eighty-twenty.org/index.cgi/tech/smalltalk/nacl-for-squeak-and-pharo-20130601.html


### Installation

Get and install the NaCl (salt) code
  https://github.com/jedisct1/libsodium

Load the package in Cuis 6.0

````Smalltalk
	Feature require: 'Crypto-NaCl'.  "Note NaCl has $N and $C capitalized"
````

Note simple end-to-end usage example: NaclTests>>testNaclHighLevelAPI

If zero unit tests pass, be sure to place the libsodium library file (libsodium.so on Linux) in your image directory (probably Cuis-Smalltalk-Dev).

### Further documentation available at

  http://nacl.cr.yp.to
← Back to results