Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAesTable ¶
func RegisterAesTable(db *gorm.DB, tableName, aesKey string, aesColumnNames []string) gust.Errable[error]
RegisterAesTable Register the AES information of the specified DB Table NOTE: Raw().Rows() and Raw().Row() methods do not support transparent AES decryption When calling Raw().Scan(&v), if v is not the corresponding Model, Model(m).Raw().Scan(&v) should be called instead The length of the ciphertext is: if the length of the plaintext is 16n+m (m<16), then the length of the ciphertext is (16n+16)x4/3, and the ciphertext has increased by at least 1/3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.