From f114e586e31f88f9e32a3005d5a8196f56c78ed9 Mon Sep 17 00:00:00 2001 From: Blake Regalia Date: Thu, 24 Oct 2024 19:34:55 -0700 Subject: [PATCH] docs: indent --- README.md | 62 +++++++++++++++++++++++++++---------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index d63426f..20312d6 100644 --- a/README.md +++ b/README.md @@ -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; } ```