Sha256: b6ac2f4ac5966a7fd0c8553f770e2415c68bb9cc4c84af46a8569964cd7adfaf

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

# encoding: binary
# frozen_string_literal: true

module Miscreant
  # The Advanced Encryption Standard Block Cipher
  module AES
    # 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
miscreant-0.0.0 lib/miscreant/aes.rb