]> Repositorios git - scryer-prolog.git/commit
ENHANCED: library(crypto): Retain the compact representation of strings.
authorMarkus Triska <[email protected]>
Sun, 12 Jul 2020 08:07:56 +0000 (10:07 +0200)
committerMarkus Triska <[email protected]>
Sun, 12 Jul 2020 09:54:37 +0000 (11:54 +0200)
commit88a2b82f7e13af5253fc1b33b2a782902c70739c
tree12560c3bfa28a962fadace31c3b9f935bcb89427
parent001636544691e59742c83b25473ccf7895c46259
ENHANCED: library(crypto): Retain the compact representation of strings.

This avoids the costly (in terms of space requirements!) conversion of
compact lists of characters to lists of integers, making hashing, HKDF,
encryption, decryption, signing and signature verification an order of
magnitude more efficient (primarily in terms of space, also in time).

This makes library(crypto) suitable to process also very large files.
src/clause_types.rs
src/lib/crypto.pl
src/machine/system_calls.rs