[go: up one dir, main page]

  Top

Name

xenc_key_AES_create — Used to make a symmetric key.

Synopsis

xenc_key_AES_create ( in name varchar ,
  in bits int ,
  in secret varchar );
 

Description

Used to make a symmetric session key for AES encryption algorithm.

Parameters

name

The name of the key.

bits

Number of bits in generated key. The values supported are 128, 192 and 256 bits.

secret

The shared secret for key generation.

Return Types

None.

Example

Example 24.469. Simple Use

xenc_key_AES_create ('ses_key', 128, 'mysecret');