@@ -814,6 +814,21 @@ __*return*__ | [Field](sdk-src_wasm.md) | *The transition view key.*
814
814
815
815
---
816
816
817
+ ### ` decryptSender(view_key, record, sender_ciphertext) ► Address `
818
+
819
+ ![ modifier: public] ( images/badges/modifier-public.svg ) ![ modifier: static] ( images/badges/modifier-static.svg )
820
+
821
+ Decrypt the sender ciphertext associated with a record.
822
+
823
+ Parameters | Type | Description
824
+ --- | --- | ---
825
+ __ view_key__ | ` ViewKey ` | * View key associated with the record.*
826
+ __ record__ | [ RecordPlaintext] ( sdk-src_wasm.md ) | * Record plaintext associated with a sender.*
827
+ __ sender_ciphertext__ | [ Field] ( sdk-src_wasm.md ) | * Sender ciphertext associated with the record.*
828
+ __ * return* __ | [ Address] ( sdk-src_wasm.md ) | * address of the sender.*
829
+
830
+ ---
831
+
817
832
### ` checkOwnedRecords(view_key, records) ► Vec.<RecordCiphertext> `
818
833
819
834
![ modifier: public] ( images/badges/modifier-public.svg ) ![ modifier: static] ( images/badges/modifier-static.svg )
@@ -842,6 +857,20 @@ __*return*__ | `vec.<RecordPlaintext>` | *The decrypted record plaintexts.*
842
857
843
858
---
844
859
860
+ ### ` decryptSenderWithRvk(record_view_key, sender_ciphertext) ► Address `
861
+
862
+ ![ modifier: public] ( images/badges/modifier-public.svg ) ![ modifier: static] ( images/badges/modifier-static.svg )
863
+
864
+ Decrypt the sender ciphertext associated with the record with the record view key.
865
+
866
+ Parameters | Type | Description
867
+ --- | --- | ---
868
+ __ record_view_key__ | [ Field] ( sdk-src_wasm.md ) | * Record view key associated with the record.*
869
+ __ sender_ciphertext__ | [ Field] ( sdk-src_wasm.md ) | * Sender ciphertext associated with the record.*
870
+ __ * return* __ | [ Address] ( sdk-src_wasm.md ) | * the address of the sender.*
871
+
872
+ ---
873
+
845
874
### ` generateRecordViewKey(view_key, record_ciphertext) ► Field `
846
875
847
876
![ modifier: public] ( images/badges/modifier-public.svg ) ![ modifier: static] ( images/badges/modifier-static.svg )
@@ -1863,6 +1892,19 @@ __*return*__ | [PrivateKey](sdk-src_wasm.md) | **
1863
1892
1864
1893
## Methods
1865
1894
1895
+ ### ` sign_value (message) ► Signature`
1896
+
1897
+ 
1898
+
1899
+ Sign an instance of a valid Aleo data type or record.
1900
+
1901
+ Parameters | Type | Description
1902
+ --- | --- | ---
1903
+ __message__ | ` String ` | *The string representation of the Aleo datatype or record to sign.*
1904
+ __*return*__ | [Signature](sdk-src_wasm.md) | *Signature of the message.*
1905
+
1906
+ ---
1907
+
1866
1908
### ` to_address () ► Address`
1867
1909
1868
1910

@@ -3172,6 +3214,20 @@ __*return*__ | [RecordPlaintext](sdk-src_wasm.md) | *The record plaintext.*
3172
3214
3173
3215
---
3174
3216
3217
+ ### ` decryptSender (view_key, sender_ciphertext) ► Address`
3218
+
3219
+ 
3220
+
3221
+ Decrypt the sender ciphertext associated with the record.
3222
+
3223
+ Parameters | Type | Description
3224
+ --- | --- | ---
3225
+ __view_key__ | ` ViewKey` | *View key associated with the record.*
3226
+ __sender_ciphertext__ | [Field](sdk-src_wasm.md) | *Sender ciphertext associated with the record.*
3227
+ __*return*__ | [Address](sdk-src_wasm.md) | *address of the sender.*
3228
+
3229
+ ---
3230
+
3175
3231
### ` recordViewKey (view_key) ► Group`
3176
3232
3177
3233

@@ -3537,6 +3593,20 @@ Cryptographic signature of a message signed by an Aleo account
3537
3593
3538
3594
## Methods
3539
3595
3596
+ ### ` signValue (private_key, message) ► Signature`
3597
+
3598
+  
3599
+
3600
+ Sign an instance of a valid Aleo data type or record.
3601
+
3602
+ Parameters | Type | Description
3603
+ --- | --- | ---
3604
+ __private_key__ | [PrivateKey](sdk-src_wasm.md) | *The private key used to sign the message.*
3605
+ __message__ | ` String ` | *The string representation of the Aleo datatype or record to sign.*
3606
+ __*return*__ | [Signature](sdk-src_wasm.md) | *Signature of the message.*
3607
+
3608
+ ---
3609
+
3540
3610
### ` to_address () ► Address`
3541
3611
3542
3612

@@ -3611,6 +3681,20 @@ __*return*__ | [Plaintext](sdk-src_wasm.md) | **
3611
3681
3612
3682
---
3613
3683
3684
+ ### ` verifyValue (address, message) ► boolean`
3685
+
3686
+ 
3687
+
3688
+ Verify a signature over an Aleo datatype or record by an address.
3689
+
3690
+ Parameters | Type | Description
3691
+ --- | --- | ---
3692
+ __address__ | [Address](sdk-src_wasm.md) | *The address used to verify the signature.*
3693
+ __message__ | ` String ` | *The message to verify, which must be the string representation of a valid Aleo datatype or record.*
3694
+ __*return*__ | ` boolean` | *True if the signature is valid, false otherwise.*
3695
+
3696
+ ---
3697
+
3614
3698
### ` fromBytesLe (bytes) ► Signature`
3615
3699
3616
3700
 
0 commit comments