crypto-secret.cr/spec/not_spec.cr

11 lines
222 B
Crystal
Raw Normal View History

2021-06-13 01:04:49 +02:00
require "./spec_helper"
require "../src/crypto_secret/not"
describe Crypto::Secret::Not do
it "works" do
ksize = 32
secret = Crypto::Secret::Not.new ksize
secret.to_slice.should eq Bytes.new ksize
end
end