Name

GETRANDOMBYTES

Synopsis

This function generates a cryptographically secure key for encryption. It accepts one input parameter and returns the key as a RAW datatype.

Parameter name

Datatype

Description

number_bytes

BINARY_INTEGER

Length of the random value to be generated

Get Oracle PL/SQL for DBAs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.