Formatting changes.
parent
f9de09f2d7
commit
497af4b401
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue