Sha256: a8e98be698421ae9e41bcf6bb574690827af2d6d2b58810a8fbcbdba4915cc36
Contents?: true
Size: 451 Bytes
Versions: 99
Compression:
Stored size: 451 Bytes
Contents
# -*- encoding: utf-8 -*- require_relative 'common' require 'hexapdf/encryption/fast_aes' describe HexaPDF::Encryption::FastAES do include AESEncryptionTests before do @algorithm_class = HexaPDF::Encryption::FastAES end it "uses a better random bytes generator" do assert_equal(@algorithm_class.singleton_class, @algorithm_class.method(:random_bytes).owner) assert_equal(16, @algorithm_class.random_bytes(16).length) end end
Version data entries
99 entries across 99 versions & 1 rubygems