Crates.io | tma-init-data |
lib.rs | tma-init-data |
version | 0.1.1 |
source | src |
created_at | 2024-11-04 17:00:29.042223 |
updated_at | 2024-11-04 17:06:36.493023 |
description | Utilities to work with Telegram Mini Apps init data. |
homepage | |
repository | |
max_upload_size | |
id | 1435313 |
size | 22,946 |
The crate provides utilities to work with Telegram Mini Apps init data.
parse
- allow to parse string with init data into InitData
struct.validate
- validates passed init data.sign
- signs hashmap with the passed token.sign_query_string
- signs query string with the passed token.Implementation was taken from init-data-golang.