Markus Triska
fac7ba70c8
crypto_password_hash/3: fail if the number of iterations is too high
...
Discussed in #527 .
2020-05-18 13:11:39 +02:00
Mark Thom
eecd809d9a
fix atom_codes ( #521 )
2020-05-17 16:34:52 -06:00
Mark Thom
5720b7b94c
eliminate Addr::CharCode ( #519 ), fix atom_code panic ( #521 ), fix failure involving lists of character codes ( #520 ), bump version number
2020-05-17 15:19:27 -06:00
Mark Thom
05d3b97eae
correct for second argument when (is)/2 is a tail call
2020-05-16 20:22:17 -06:00
Markus Triska
862ae26631
Authenticated encryption in library(crypto), new encoding/1 option for hashes ( #515 )
...
* shorten n_newlines//1
* remove unneeded variable
* ADDED: authenticated encryption and decryption with ChaCha20-Poly1305
* ADDED: encoding/1 option for crypto_data_hash/3 and crypto_data_hkdf/4
2020-05-16 11:51:41 -06:00
Markus Triska
4e69301562
ADDED: Password-based key derivation (PBKDF2) ( #509 )
...
The new predicates crypto_password_hash/[2,3] let you store
passwords safely, and easily verify passwords later.
2020-05-15 10:49:23 -06:00
Markus Triska
50776748a7
ADDED: HMAC-based key derivation (HKDF) via crypto_data_hkdf/4
...
This is useful to generate keys and initialization vectors
from suitable input keying material, so that future predicates
for symmetric encryption can be used with appropriate parameters.
2020-05-14 20:07:59 +02:00
Markus Triska
fd761735d4
ADDED: ripemd160 digest algorithm
...
This is used for example for Bitcoin address generation.
2020-05-13 22:36:40 +02:00
Markus Triska
8cd7d08573
ADDED: crypto_data_hash/3, computing cryptographically secure digests
2020-05-13 19:23:09 +02:00
Mark Thom
6d6f6ed8fc
resolve warning messages ( #495 )
2020-05-12 20:36:21 -06:00
Mark Thom
c9aed1381f
Merge branch 'master' of https://github.com/mthom/rusty-wam
2020-05-12 20:28:42 -06:00
Mark Thom
49ba5f30c5
throw existence_error on failed put_byte write ( #492 )
2020-05-12 20:28:39 -06:00
Mark Thom
3c6149fd27
do not unwrap stream write, TcpStream::shutdown results ( #492 )
2020-05-12 18:51:42 -06:00
Mark Thom
4e321db189
Merge pull request #494 from triska/master
...
ADDED: crypto_n_random_bytes/2, creating cryptographically secure random bytes
2020-05-12 19:44:07 -03:00
Markus Triska
716fde5784
ADDED: crypto_n_random_bytes/2, creating cryptographically secure random bytes
...
The ring crate is used since it will be needed also for future
predicates in library(crypto).
2020-05-13 00:36:27 +02:00
Mark Thom
c70b873397
reset current input in ReadQueryTerm
2020-05-11 15:29:28 -06:00
Mark Thom
540bc71873
use heap_pstr_iter in AtomChars ( #482 )
2020-05-10 15:46:51 -06:00
Mark Thom
c1df7ead1a
set past end of stream, set Byte to -1, Char and Code to end_of_file, at end of stream ( #479 )
2020-05-10 14:50:17 -06:00
Mark Thom
d170c807e3
deref addr's in list of atom_codes ( #484 )
2020-05-10 14:33:56 -06:00
Mark Thom
c5057127ee
eliminate duplicates in term_variables/2, term_attributed_variables/2 ( #481 )
2020-05-10 13:43:39 -06:00
Mark Thom
ea7b1a9592
fix position property in stream_property/2 ( #477 )
2020-05-10 13:35:48 -06:00
Mark Thom
ea5771c442
detect source_sink domain error in open/4 ( #480 )
2020-05-10 13:19:14 -06:00
Mark Thom
b0ae44bc25
Merge branch 'sockets-develop'
2020-05-09 14:26:29 -06:00
Mark Thom
6f927b9941
add set_stream_position/2
2020-05-09 14:20:32 -06:00
Mark Thom
ff420f1e67
carry past_end_of_stream in WrappedStreamInstance
2020-05-09 01:34:56 -06:00
Mark Thom
5be771842f
add stream_property/2
2020-05-09 00:56:17 -06:00
Mark Thom
b8c50eb0fe
add peek_char/{1,2}, peek_byte/{1,2}, peek_code/{1,2}
2020-05-06 01:05:03 -06:00
Mark Thom
fe05082ddc
add sockets library, use new type_error function from sockets system calls
2020-05-05 22:57:06 -06:00
Mark Thom
414acda9e0
add put_code/{1,2}, get_code/{1,2}, improve get_* predicates
2020-05-05 22:42:35 -06:00
Mark Thom
47e3a5e75a
add put_byte/{1,2}, put_char/{1,2}
2020-05-05 17:42:18 -06:00
Mark Thom
573df892bc
cleanup on reading predicates, add get_char/{1,2}
2020-05-05 16:54:40 -06:00
Mark Thom
bfced59949
clean up stream error handling, add get_byte/{1,2}
2020-05-05 16:09:17 -06:00
Mark Thom
53ae8b9bd1
add flush_output/{0,1}, past_end_of_stream
2020-05-05 14:10:49 -06:00
notoria
ac00bc6b70
Fixed ctrl-c issue with get_single_char/1
2020-05-05 18:47:00 +02:00
Mark Thom
ab62603c5a
add close/{1,2}, better EOF action handling in read_term
2020-05-05 00:38:21 -06:00
Mark Thom
dd247cd541
adapt write_term family, add handling for EOF actions.
2020-05-04 21:17:06 -06:00
Mark Thom
0d7a9f32d6
add open/3, write_term/3
2020-05-04 14:50:26 -06:00
Mark Thom
b5368207d6
merge with master
2020-05-03 18:49:15 -06:00
Mark Thom
b8400e0c92
make term{_attributed_}variables/2 order {attributed} variables by left-to-right occurrence
2020-05-03 18:43:23 -06:00
Mark Thom
a494cdaf92
use complete strings in FileToChars ( #430 )
2020-05-03 02:54:49 -06:00
Mark Thom
b642bd2cfd
add term_attributed_variables/2 ( #422 )
2020-05-02 18:46:29 -06:00
notoria
98d38d763b
Added $scryer_prolog_version/1
2020-05-02 02:19:22 +02:00
Mark Thom
6a583b9b5b
Revert "Enhanced command line"
2020-05-01 15:43:20 -06:00
Mark Thom
6617b79cd8
Merge pull request #419 from notoria/cli
...
Enhanced command line
2020-05-01 18:32:02 -03:00
Mark Thom
46b695d093
accept any and all characters in comment chars
2020-05-01 16:39:27 -06:00
notoria
6ae7ae0210
Enhanced version
2020-05-01 16:46:31 +02:00
Mark Thom
36134c61b2
erase unnecessary stub from block of FileToChars
2020-04-28 01:40:59 -06:00
Mark Thom
77cf0fd87b
don't append lists of attributes when binding attributed variables ( #353 )
2020-04-28 01:40:11 -06:00
Mark Thom
fe395e3a8c
publish bimetatrans_ruleml_tests, move both files to own directory
2020-04-26 20:32:16 -06:00
notoria
9b1272da51
Small patch for library pio
2020-04-26 14:54:20 +02:00