From 497af4b4019b20f9b1dd1f307ddded73b90c8f42 Mon Sep 17 00:00:00 2001 From: Didactic Drunk <1479616+didactic-drunk@users.noreply.github.com> Date: Thu, 18 Mar 2021 11:28:32 -0700 Subject: [PATCH] Formatting changes. --- spec/spec_helper.cr | 1 - src/sodium/password/hash.cr | 2 +- src/sodium/secret_box.cr | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/spec_helper.cr b/spec/spec_helper.cr index e3a8194..001efcb 100644 --- a/spec/spec_helper.cr +++ b/spec/spec_helper.cr @@ -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 diff --git a/src/sodium/password/hash.cr b/src/sodium/password/hash.cr index 73121f7..05540f5 100644 --- a/src/sodium/password/hash.cr +++ b/src/sodium/password/hash.cr @@ -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 diff --git a/src/sodium/secret_box.cr b/src/sodium/secret_box.cr index d22e37e..4a137b1 100644 --- a/src/sodium/secret_box.cr +++ b/src/sodium/secret_box.cr @@ -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