spec/util_hmac_spec.lua
changeset 9965 d7c99694fc94
parent 9964 cedc1f646925
child 12359 a0ff5c438e9d
equal deleted inserted replaced
9964:cedc1f646925 9965:d7c99694fc94
     1 -- Test cases from RFC 4231
     1 -- Test cases from RFC 4231
       
     2 
       
     3 -- Yes, the lines are long, it's annoying to split the long hex things.
       
     4 -- luacheck: ignore 631
     2 
     5 
     3 local hmac = require "util.hmac";
     6 local hmac = require "util.hmac";
     4 local hex = require "util.hex";
     7 local hex = require "util.hex";
     5 
     8 
     6 describe("Test case 1", function ()
     9 describe("Test case 1", function ()