Formatting changes.

This commit is contained in:
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 if b != 0_u8
puts "not wiped #{buf.inspect}" puts "not wiped #{buf.inspect}"
# raise "not wiped #{buf.inspect}" # raise "not wiped #{buf.inspect}"
end end
end 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. # Often used to store password hashes on a server and authenticate clients against the stored hash.
# #
# Usage: # Usage:
# ```crystal # ```
# pwhash = Sodium::Password::Hash.new # pwhash = Sodium::Password::Hash.new
# #
# pwhash.mem = Sodium::Password::MEMLIMIT_MIN # pwhash.mem = Sodium::Password::MEMLIMIT_MIN

View File

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