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

Указание кодировки в createHash и расшифровка конвертированных данных #107

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AlexeyEsin
Copy link
Contributor

  • в createHash добавлен необязательный параметр encoding кодировки сообщения
    createHash: (unencryptedMessage: string | ArrayBuffer, encoding?: TranscodeEncoding)

  • добавлена функция расшифрования конвертированных данных

decryptEnvelopedData(sessionIDEncoded)
  .then((response) => {
    //...
  })
  .catch((error) => {
    //...
  });

@AlexeyEsin
Copy link
Contributor Author

AlexeyEsin commented Nov 7, 2022

Travis CI выдаёт ошибку при попытке сборки на последней версии node, поэтому использовал версию, на которой прошёл последний успешный билд

@vgoma

@vgoma
Copy link
Owner

vgoma commented Jun 22, 2023

@AlexeyEsin добавил указание кодировки в объекте опций. Опубликовано в релизе 2.5.0. Остальные изменения из этого PR добавлю позже.

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.

None yet

2 participants