Skip to content

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

Description

@liugt34

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions