zig/lib/std
Frank Denis 28fb97f188 Add (X)Salsa20 and NaCl boxes
The NaCl constructions are available in pretty much all programming
languages, making them a solid choice for applications that require
interoperability.

Go includes them in the standard library, JavaScript has the popular
tweetnacl.js module, and reimplementations and ports of TweetNaCl
have been made everywhere.

Zig has almost everything that NaCl has at this point, the main
missing component being the Salsa20 cipher, on top on which NaCl's
secretboxes, boxes, and sealedboxes can be implemented.

So, here they are!

And clean the X25519 API up a little bit by the way.
2020-10-25 18:04:12 +01:00
..
atomic
build std: move std.meta.refAllDecls to std.testing 2020-10-15 20:34:22 -04:00
c Darwin has arc4random(), too 2020-10-18 18:24:36 +02:00
compress
crypto Add (X)Salsa20 and NaCl boxes 2020-10-25 18:04:12 +01:00
debug Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
event Merge branch 'openbsd-minimal' of https://github.com/semarie/zig into semarie-openbsd-minimal 2020-10-17 17:34:43 -07:00
fmt Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
fs Merge branch 'master' into openbsd-minimal 2020-10-17 17:38:23 +02:00
hash Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
heap Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
io Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
json
math Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
mem use Allocator.allocSentinel now that the stage1 bug is fixed 2020-09-29 12:06:35 -07:00
meta Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
net
os Merge branch 'improve-windows-networking' 2020-10-22 16:59:15 -07:00
rand
special test runner: use the correct number in leak report 2020-10-25 11:28:36 +02:00
target
testing
time
unicode
valgrind
zig std: Implement featureSetHasAny/featureSetHasAll 2020-10-20 23:23:43 +03:00
array_hash_map.zig std.ArrayHashMap: count and iterator are not deprecated 2020-09-25 20:50:40 -07:00
array_list.zig Fix std.ArrayListUnmanaged + improve test coverage 2020-09-29 19:49:13 +02:00
array_list_sentineled.zig
ascii.zig
atomic.zig
auto_reset_event.zig Add more comments & cleanup AutoResetEvent 2020-10-11 19:16:07 -05:00
base64.zig
buf_map.zig
buf_set.zig
build.zig std: reference more declarations in std.build 2020-10-22 17:44:23 -04:00
builtin.zig Merge pull request #6421 from tadeokondrak/opaque-syntax 2020-10-07 16:58:50 -04:00
c.zig Merge branch 'master' into openbsd-minimal 2020-10-17 17:38:23 +02:00
child_process.zig Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
coff.zig
compress.zig
comptime_string_map.zig
crypto.zig Add (X)Salsa20 and NaCl boxes 2020-10-25 18:04:12 +01:00
cstr.zig
debug.zig std: Minor changes to startup code 2020-10-19 15:15:43 +02:00
dwarf.zig
dwarf_bits.zig
dynamic_library.zig Merge branch 'master' into openbsd-minimal 2020-10-17 17:38:23 +02:00
elf.zig
event.zig add WaitGroup to std.event 2020-10-07 04:34:09 -04:00
fifo.zig Make LinearFifo not crash when discarding from empty buffer 2020-09-27 05:46:39 -04:00
fmt.zig Merge pull request #6394 from Vexu/fmt 2020-10-17 21:06:54 -04:00
fs.zig readd original code from #6638. realpathZ() is expected to take a [*:0]const u8 2020-10-25 10:02:10 +01:00
hash.zig
hash_map.zig
heap.zig Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
io.zig
json.zig Add missing std in dump function json.zig 2020-10-20 13:39:38 +03:00
linked_list.zig
log.zig fix another round of regressions in this branch 2020-09-26 21:03:38 -07:00
macho.zig Write out LC_DYSYMTAB together with dyld_stub_binder undef symbol 2020-10-04 15:31:47 +02:00
math.zig Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
mem.zig std.mem: expose the simpler linear functions 2020-10-17 19:24:52 -07:00
meta.zig Fixes std.meta.Tuple and std.meta.ArgsTuple for zero-sized types (like void). 2020-10-17 21:10:01 -04:00
mutex.zig
net.zig Fix std.net.connectUnixSocket in evented I/O mode 2020-10-21 23:32:12 -04:00
once.zig
os.zig Merge branch 'improve-windows-networking' 2020-10-22 16:59:15 -07:00
packed_int_array.zig Merge branch 'openbsd-minimal' of https://github.com/semarie/zig into semarie-openbsd-minimal 2020-10-17 17:34:43 -07:00
pdb.zig
priority_queue.zig removing redundant assert 2020-09-22 05:12:21 -07:00
process.zig Make argsAlloc/ArgIterator return zero-sentinel strings (#6720) 2020-10-22 17:52:48 -04:00
progress.zig
rand.zig Make std.meta.Int accept a signedness parameter 2020-10-17 14:09:59 +02:00
reset_event.zig
segmented_list.zig
sort.zig
spinlock.zig
start.zig Fix Compiler Error When Using wWinMain Entry-Point 2020-10-22 19:50:06 -04:00
start_windows_tls.zig
std.zig std: move std.meta.refAllDecls to std.testing 2020-10-15 20:34:22 -04:00
target.zig Merge pull request #6743 from LemonBoy/someppc64stuff 2020-10-22 17:39:26 -04:00
testing.zig std: move std.meta.refAllDecls to std.testing 2020-10-15 20:34:22 -04:00
thread.zig
time.zig Merge pull request #6655 from kprotty/timers 2020-10-14 21:49:45 -04:00
unicode.zig
valgrind.zig
zig.zig std: remove renderStringLiteral in favor of std.fmt specifier 2020-10-17 23:20:38 +03:00