Formatting changes.

master
Didactic Drunk 2021-03-18 11:28:32 -07:00
parent f9de09f2d7
commit 497af4b401
3 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,6 @@ def check_wiped(buf : Bytes)
if b != 0_u8
puts "not wiped #{buf.inspect}"
# raise "not wiped #{buf.inspect}"
end
end
end

View File

@ -6,7 +6,7 @@ module Sodium::Password
# Often used to store password hashes on a server and authenticate clients against the stored hash.
#
# Usage:
# ```crystal
# ```
# pwhash = Sodium::Password::Hash.new
#
# pwhash.mem = Sodium::Password::MEMLIMIT_MIN

View File

@ -5,7 +5,7 @@ require "./nonce"
module Sodium
# [https://libsodium.gitbook.io/doc/secret-key_cryptography](https://libsodium.gitbook.io/doc/secret-key_cryptography)
#
# ```crystal
# ```
# box = Sodium::SecretBox.new
# message = "foobar"
# encrypted, nonce = box.encrypt message