Comparison

spec/util_hashes_spec.lua @ 12841:8b06d7c73090

spec: Suppress some harmless luacheck warnings in tests
author Matthew Wild <mwild1@gmail.com>
date Fri, 13 Jan 2023 14:53:40 +0000
parent 12836:dbe9781fd278
comparison
equal deleted inserted replaced
12840:33d902b093f0 12841:8b06d7c73090
1 -- Test vectors from RFC 6070 1 -- Test vectors from RFC 6070
2 local hashes = require "util.hashes"; 2 local hashes = require "util.hashes";
3 local hex = require "util.hex"; 3 local hex = require "util.hex";
4 4
5 -- Also see spec for util.hmac where HMAC test cases reside 5 -- Also see spec for util.hmac where HMAC test cases reside
6
7 --luacheck: ignore 631
6 8
7 describe("PBKDF2-HMAC-SHA1", function () 9 describe("PBKDF2-HMAC-SHA1", function ()
8 it("test vector 1", function () 10 it("test vector 1", function ()
9 local P = "password" 11 local P = "password"
10 local S = "salt" 12 local S = "salt"