/* * NOSTR Core Library - NIP-019: Bech32-encoded Entities */ #ifndef NIP019_H #define NIP019_H #include "nip001.h" #include "nip006.h" // For nostr_input_type_t enum // Function declarations int nostr_key_to_bech32(const unsigned char* key, const char* hrp, char* output); nostr_input_type_t nostr_detect_input_type(const char* input); int nostr_decode_nsec(const char* input, unsigned char* private_key); int nostr_decode_npub(const char* input, unsigned char* public_key); #endif // NIP019_H