New commands  alter encryption key

New Features Adaptive Server® Enterprise 12.5.3a

create encryption key

All the information related to keys and encryption is encapsulated by create encryption key, which allows you to specify the encryption algorithm and key size, the key's default property, as well as the use of an initialization vector or padding during the encryption process

Adaptive Server uses Security Builder Crypto™ for key generation and encryption.

The System Security Officer has default permission to create encryption keys and may grant that permission to other users.

Syntax

create encryption key [[database.[owner].]keyname [as default] for algorithm 
        [with [keylength num_bits] 
        [init_vector [NULL | random]] 
        [pad [NULL | random]]]

For example, to specify a 256-bit key called “safe_key” as the database default key, the System Security Officer enters:

create encryption key safe_key as default for AES with        keylength 256

The following example creates a 128-bit key called “salary_key” for encrypting columns using random padding:

create encryption key salary_key for AES with         init_vector null pad random

This example creates a 192-bit key named “mykey” for encrypting columns using an initialization vector:

 create encryption key mykey for AES with keylength 192         init_vector random




Copyright © 2005. Sybase Inc. All rights reserved. alter encryption key

View this release bulletin as PDF