oracle自带的加密函数,oracle加密函数

Oracle DBMS_CRYPTO 包提供了一组用于加密和解密存储数据的接口,适用于与PL/SQL程序配合处理网络通信。它支持包括AES在内的多种行业标准加密和哈希算法。该包详细介绍了如何使用各种子程序,包括DES、3DES和AES等加密算法,以及MD5、SHA-1等哈希和MAC功能。此外,还支持不同数据库字符集的数据全球化加密。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm

oracle自带文档写的比较清楚

24

DBMS_CRYPTO

DBMS_CRYPTO

provides an interface to encrypt and

decrypt stored data, and can be used in conjunction with PL/SQL

programs running network communications. It provides support for

several industry-standard encryption and hashing algorithms, including

the Advanced Encryption Standard (AES) encryption algorithm. AES has

been approved by the National Institute of Standards and Technology

(NIST) to replace the Data Encryption Standard (DES).

See Also:

Oracle Database Security Guide

for further information about using this package and about encrypting data in general.

This chapter contains the following topics:

Using the DBMS_CRYPTO Subprograms

Overview

Security Model

Types

Algorithms

Restrictions

Exceptions

Operational Notes

Summary of DBMS_CRYPTO Subprograms

Using the DBMS_CRYPTO Subprograms

Overview

Security Model

Types

Algorithms

Restrictions

Exceptions

Operational Notes

Overview

DBMS_CRYPTO

contains basic cryptographic functions and

procedures. To use this package correctly and securely, a general level

of security expertise is assumed.

The DBMS_CRYPTO

package enables encryption and decryption for common Oracle datatypes, including RAW

and large objects (LOB

s), such as images and sound. Specifically, it supports BLOB

s and CLOB

s. In addition, it provides Globalization Support for encrypting data across different database character sets.

The following cryptographic algorithms are supported:

Data Encryption Standard (DES), Triple DES (3DES, 2-key and 3-key)

Advanced Encryption Standard (AES)

MD5, MD4, and SHA-1 cryptographic hashes

MD5 and SHA-1 Message Authentication Code (MAC)

Block cipher modifiers are also provided with DBMS_CRYPTO

.

You can choose from several padding options, including PKCS (Public Key

Cryptographic Standard) #5, and from four block cipher chaining modes,

including Ciph

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值