Skip to content

Commit

Permalink
docs: indent
Browse files Browse the repository at this point in the history
  • Loading branch information
blake-regalia committed Oct 25, 2024
1 parent 1a29b59 commit f114e58
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,37 +144,37 @@ interface Secp256k1 {
*/
ecdh(atu8_sk: Uint8Array, atu8_pk: Uint8Array): Uint8Array;

/**
* Tweak the given private key by adding to it
* @param atu8_sk - the private key (32 bytes)
* @param atu8_tweak - the tweak vector (32 bytes)
* @returns the tweaked private key
*/
tweak_sk_add(atu8_sk: Uint8Array, atu8_tweak: Uint8Array): Uint8Array;

/**
* Tweak the given private key by multiplying it
* @param atu8_sk - the private key (32 bytes)
* @param atu8_tweak - the tweak vector (32 bytes)
* @returns the tweaked private key
*/
tweak_sk_mul(atu8_sk: Uint8Array, atu8_tweak: Uint8Array): Uint8Array;

/**
* Tweak the given public key by adding to it
* @param atu8_pk - the public key (33 or 65 bytes)
* @param atu8_tweak - the tweak vector (32 bytes)
* @returns the tweaked public key
*/
tweak_pk_add(atu8_pk: Uint8Array, atu8_tweak: Uint8Array, b_uncompressed?: boolean): Uint8Array;

/**
* Tweak the given public key by multiplying it
* @param atu8_pk - the public key (33 or 65 bytes)
* @param atu8_tweak - the tweak vector (32 bytes)
* @returns the tweaked public key
*/
tweak_pk_mul(atu8_pk: Uint8Array, atu8_tweak: Uint8Array, b_uncompressed?: boolean): Uint8Array;
/**
* Tweak the given private key by adding to it
* @param atu8_sk - the private key (32 bytes)
* @param atu8_tweak - the tweak vector (32 bytes)
* @returns the tweaked private key
*/
tweak_sk_add(atu8_sk: Uint8Array, atu8_tweak: Uint8Array): Uint8Array;

/**
* Tweak the given private key by multiplying it
* @param atu8_sk - the private key (32 bytes)
* @param atu8_tweak - the tweak vector (32 bytes)
* @returns the tweaked private key
*/
tweak_sk_mul(atu8_sk: Uint8Array, atu8_tweak: Uint8Array): Uint8Array;

/**
* Tweak the given public key by adding to it
* @param atu8_pk - the public key (33 or 65 bytes)
* @param atu8_tweak - the tweak vector (32 bytes)
* @returns the tweaked public key
*/
tweak_pk_add(atu8_pk: Uint8Array, atu8_tweak: Uint8Array, b_uncompressed?: boolean): Uint8Array;

/**
* Tweak the given public key by multiplying it
* @param atu8_pk - the public key (33 or 65 bytes)
* @param atu8_tweak - the tweak vector (32 bytes)
* @returns the tweaked public key
*/
tweak_pk_mul(atu8_pk: Uint8Array, atu8_tweak: Uint8Array, b_uncompressed?: boolean): Uint8Array;
}
```

Expand Down

0 comments on commit f114e58

Please sign in to comment.