Sha256: 9bb60bab6103f2476b4231b260b479cc44c791fc31c876c8641560cb1390ca26

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

# encoding: binary
# frozen_string_literal: true

module Miscreant
  module Internals
    # The Advanced Encryption Standard Block Cipher
    module AES # :nodoc:
      # Size of an AES block (i.e. input/output from the AES function)
      BLOCK_SIZE = 16

      # A bytestring of all zeroes, the same length as an AES block
      ZERO_BLOCK = ("\0" * BLOCK_SIZE).freeze
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
miscreant-0.1.0 lib/miscreant/internals/aes.rb