Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
514 views
in Technique[技术] by (71.8m points)

oracle - DBMS_CRYPTO to encrypt a numeric datatype

I have a requirement to encrypt NUMBER datatype in Oracle 19c. The requirement is to encrypt the data, and update the same to the column. After a while, if needed, the data has to be decrypted and provided to the customers.

I found the DBMS_CRYPTO package, which provides the encryption. I found examples for VARCHAR2 datatype, but none for numeric.

On trying to encrypt the NUMBER column, the encryption results in an alphanumeric, which cannot be updated in the column.

How can my objective of encrypting the numeric column and updating the same be achieved? Is DBMS_CRYPTO the right way to proceed for this?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...