diff --git a/README.md b/README.md index f8b0883..5c1ef88 100644 --- a/README.md +++ b/README.md @@ -39,11 +39,11 @@ Secret providers may implement additional protections via: ```crystal -require "crypto-secret/not" +require "crypto-secret/bidet" -# `Not` isn't actually a secret and does none of what the comments say -# Replace `Not` with a secure implementation like [Sodium::SecureBuffer](https://didactic-drunk.github.io/sodium.cr/master/Sodium/SecureBuffer.html) -secret = Crypto::Secret::Not.new 32 +# Bidet is a minimal but fast secret implementation +secret = Crypto::Secret::Bidet.new 32 +# Don't forget to wipe! secret.wipe do secret.readonly do |slice| # May only read slice diff --git a/src/crypto-secret/crypto-secret.cr b/src/crypto-secret/crypto-secret.cr index 40d81e7..f35678f 100644 --- a/src/crypto-secret/crypto-secret.cr +++ b/src/crypto-secret/crypto-secret.cr @@ -1,2 +1,2 @@ -require "./secret" -require "./*" +require "./not" +require "./bidet"