Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why the key and iv did't convert to byte array? #11

Open
liugt34 opened this issue Aug 27, 2024 · 1 comment
Open

why the key and iv did't convert to byte array? #11

liugt34 opened this issue Aug 27, 2024 · 1 comment

Comments

@liugt34
Copy link

liugt34 commented Aug 27, 2024

thank u for this nice project! i have some questions,can u explain ,than u very much!

in this code

this is the pgcrypto function

encrypt_iv(data bytea, key bytea, iv bytea, type text) returns bytea

i find the data is bytea, the key and iv are also bytea, but in the code ,why only convert data to bytea, and the key ,iv is still string

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@liugt34 and others