Sha256: 615705347d78fa61cf48db2133e6bf488f227dbaf3015c7c919f2642797295ce
Contents?: true
Size: 286 Bytes
Versions: 2
Compression:
Stored size: 286 Bytes
Contents
module XSignature class NonceValidator # Some state should be maintained in order to protect API from replay attack # https://en.wikipedia.org/wiki/Cryptographic_nonce # @param [XSignature::Data] data def valid?(data) fail NotImplementedError end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
x-signature-0.1.1 | lib/x-signature/nonce_validator.rb |
x-signature-0.1.0 | lib/x-signature/nonce_validator.rb |