Module: CryptBufferConcern::Random

Included in:
CryptBuffer
Defined in:
lib/crypto-toolbox/crypt_buffer/concerns/random.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

This module provides an interface to generate a CryptBuffer with n bytes of random Integer between 1 and 256 This is required for generating pseudo keys



8
9
10
# File 'lib/crypto-toolbox/crypt_buffer/concerns/random.rb', line 8

def self.included(base)
  base.extend(ClassMethods)
end