           valid-hash "7aa01e35e65701c9a9d8f71c4cbf056acddc9be17fdff06b4c7af1b0b34ddc29"]
       (is (= (bytes->hex (hash/sha256 (io/input-stream path))) valid-hash)))))
 
-(deftest poly1305-tests
+(deftest core-mac-poly1305
   (let [iv        (byte-array 16) ;; 16 bytes array filled with 0
         plaintext "text"
         secretkey "secret"]

            [clojure.java.io :as io])
  (:import buddy.Arrays))

(deftest codecs-test
  (testing "Hex encode/decode 01"
    (let [some-bytes  (str->bytes "FooBar")
          encoded     (bytes->hex some-bytes)

    (let [iv2 (make-random-bytes 16)
          signature (poly/poly1305-serpent plaintext secretkey iv2)]
      (is (poly/poly1305-serpent-verify plaintext signature secretkey iv2))
      (is (not (poly/poly1305-serpent-verify plaintext signature secretkey iv)))))))

