한국어
다크 모드
문자열과 비밀번호(비밀번호)를 사용하여 원하는 알고리즘(알고리즘 기본값: aes-256-cbc, ivSize 기본값: 16)으로 암호화합니다.
aes-256-cbc
16
str::string
secret::string
algorithm::string || 'aes-256-cbc'
ivSize::number || 16
string
encrypt('test', 'secret-key');