Difference between revisions of "Component: Hydro Encryption (Comms: Networking)"
From Flowcode Help
Jump to navigationJump to searchLine 52: | Line 52: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 57: | Line 59: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===sign_create=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 90: | Line 93: | ||
+ | ===secretbox_keygen=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 108: | Line 112: | ||
+ | ===hash_with_key=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 141: | Line 146: | ||
+ | ===sign_verify=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 174: | Line 180: | ||
+ | ===init=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 187: | Line 194: | ||
+ | ===sign_keygen=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 210: | Line 218: | ||
+ | ===secretbox_encrypt=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 248: | Line 257: | ||
+ | ===hash_keygen=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 266: | Line 276: | ||
+ | ===secretbox_decrypt=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 304: | Line 315: | ||
+ | ===hash_without_key=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:53, 3 February 2023
Author | |
Version | 1.0 |
Category | Comms: Networking |
Contents
Hydro Encryption component
A cipher suite to enable encryption and decryption of data messages, based on libhydrogen.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_libhydrogen.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_libhydrogen.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
sign_create
secretbox_keygen
![]() |
secretbox_keygen |
Creates a secret key suitable for use with the secretbox functions. You must provide a 32 byte array for the key. | |
![]() |
key |
![]() |
Return |
hash_with_key
sign_verify
init
![]() |
init |
Initialisation function. To be called at the very start of your program. | |
![]() |
Return |
sign_keygen
secretbox_encrypt
hash_keygen
![]() |
hash_keygen |
Creates a secret key suitable for use with the hash_hash function. You must provide a 32 byte array for the key. | |
![]() |
key |
![]() |
Return |
secretbox_decrypt
hash_without_key
Property reference
![]() |
Properties |