Sha256: 07d59f780b5ef37a630873e7d70028e9f15738066308bce36c6515a7851ec5cc

Contents?: true

Size: 591 Bytes

Versions: 2

Compression:

Stored size: 591 Bytes

Contents

# frozen_string_literal: true

# (c) 2017 Ribose Inc.

module Botan
  DEFAULT_KDF_ALGO = 'KDF2(SHA-256)'
  DEFAULT_KDF_SALT_LENGTH = 16
  DEFAULT_KDF_ITERATIONS = 100_000
  DEFAULT_PBKDF_ALGO = 'PBKDF2(SHA-256)'

  DEFAULT_EME = 'EME1(SHA-256)'
  DEFAULT_EMSA = { 'RSA' => 'EMSA4(SHA-256)',
                   'DSA' => 'EMSA1(SHA-256)',
                   'ECDSA' => 'EMSA1(SHA-256)',
                   'ECKCDSA' => 'EMSA1(SHA-256)',
                   'ECGDSA' => 'EMSA1(SHA-256)',
                   'GOST-34.10' => 'EMSA1(SHA-256)' }.freeze

  DEFAULT_AEAD = 'AES-256/OCB'
end # module

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
botan-0.1.2 lib/botan/defaults.rb
botan-0.1.0 lib/botan/defaults.rb