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

feat: Added support decrypt data buffer string #3

Merged
merged 1 commit into from
Dec 31, 2023

Conversation

FajarKim
Copy link
Owner

@FajarKim FajarKim commented Dec 31, 2023

I added a feature that can decrypt the string buffer.

Example:

decrypt("aria128", "<Buffer 53 61 6c 74 65 64 5f 5f 73 95 19 a6 2f c2 a7 0b 66 bd 8d 99 dd 2e ab 72 a7 8d 09 a9 d8 0f 25 55 f5 f9 11 a1 47 01 85 d7 88 e9 fb 05 2f 0e 9d 27>", "secret")

or

const algorithm = "aria128";
const data = "<Buffer 53 61 6c 74 65 64 5f 5f 73 95 19 a6 2f c2 a7 0b 66 bd 8d 99 dd 2e ab 72 a7 8d 09 a9 d8 0f 25 55 f5 f9 11 a1 47 01 85 d7 88 e9 fb 05 2f 0e 9d 27>";
const password = "secret";

decrypt(algorithm, data, password)

@FajarKim FajarKim merged commit 5ba2226 into master Dec 31, 2023
2 checks passed
@FajarKim FajarKim deleted the feat_added_support_decrypt_data_buffer_string branch December 31, 2023 03:40
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

Successfully merging this pull request may close these issues.

1 participant