Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.324 kb
# encoding: binary
require 'rubygems'
require 'bundler/setup'
require 'rbnacl'
require 'shared/box'
require 'shared/authenticator'
require 'shared/key_equality'
require 'coveralls'
Coveralls.wear!
def hex2bytes(hex)
Crypto::Encoder[:hex].decode(hex)
end
def test_vector(name)
hex2bytes(Crypto::TestVectors[name])
end
Jump to Line
Something went wrong with that request. Please try again.