From c9ac5c03eabfc1ebb28d3453ea5751e8df926a2d Mon Sep 17 00:00:00 2001 From: simonmcl Date: Tue, 28 May 2024 13:47:17 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20kukai-wa?= =?UTF-8?q?llet/kukai-crypto-swift@757c1975adb830d158eb50afa3776cf2c5eb724?= =?UTF-8?q?5=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Enums.html | 5 +- Enums/ByteHexEncodingErrors.html | 5 +- Enums/EllipticalCurve.html | 5 +- Enums/EntropyGeneratorError.html | 5 +- Enums/MnemonicError.html | 5 +- Enums/Prefix.html | 5 +- Enums/Prefix/Address.html | 5 +- Enums/Prefix/Keys.html | 5 +- Enums/Prefix/Keys/Ed25519.html | 31 ++- Enums/Prefix/Keys/P256.html | 5 +- Enums/Prefix/Keys/Secp256k1.html | 31 ++- Enums/Prefix/Watermark.html | 5 +- Enums/RandomBytesError.html | 5 +- Enums/WordList.html | 5 +- Extensions.html | 24 +- Extensions/Array.html | 5 +- Extensions/Data.html | 31 ++- Extensions/DataProtocol.html | 5 +- Extensions/Int.html | 5 +- Extensions/Sodium.html | 5 +- Extensions/String.html | 5 +- Extensions/[UInt8].html | 207 ++++++++++++++++++ Global Variables.html | 5 +- Protocols.html | 5 +- Protocols/EntropyGenerator.html | 5 +- Structs.html | 5 +- Structs/Base58.html | 5 +- Structs/Base58Check.html | 5 +- Structs/HD.html | 5 +- Structs/HD/HDError.html | 5 +- Structs/KeyPair.html | 111 +++++++++- Structs/Mnemonic.html | 5 +- Structs/Mnemonic/NumberOfWords.html | 5 +- Structs/PrivateKey.html | 5 +- Structs/PublicKey.html | 5 +- .../Contents/Resources/Documents/Enums.html | 5 +- .../Enums/ByteHexEncodingErrors.html | 5 +- .../Documents/Enums/EllipticalCurve.html | 5 +- .../Enums/EntropyGeneratorError.html | 5 +- .../Documents/Enums/MnemonicError.html | 5 +- .../Resources/Documents/Enums/Prefix.html | 5 +- .../Documents/Enums/Prefix/Address.html | 5 +- .../Documents/Enums/Prefix/Keys.html | 5 +- .../Documents/Enums/Prefix/Keys/Ed25519.html | 31 ++- .../Documents/Enums/Prefix/Keys/P256.html | 5 +- .../Enums/Prefix/Keys/Secp256k1.html | 31 ++- .../Documents/Enums/Prefix/Watermark.html | 5 +- .../Documents/Enums/RandomBytesError.html | 5 +- .../Resources/Documents/Enums/WordList.html | 5 +- .../Resources/Documents/Extensions.html | 24 +- .../Resources/Documents/Extensions/Array.html | 5 +- .../Resources/Documents/Extensions/Data.html | 31 ++- .../Documents/Extensions/DataProtocol.html | 5 +- .../Resources/Documents/Extensions/Int.html | 5 +- .../Documents/Extensions/Sodium.html | 5 +- .../Documents/Extensions/String.html | 5 +- .../Documents/Extensions/[UInt8].html | 207 ++++++++++++++++++ .../Resources/Documents/Global Variables.html | 5 +- .../Resources/Documents/Protocols.html | 5 +- .../Documents/Protocols/EntropyGenerator.html | 5 +- .../Contents/Resources/Documents/Structs.html | 5 +- .../Resources/Documents/Structs/Base58.html | 5 +- .../Documents/Structs/Base58Check.html | 5 +- .../Resources/Documents/Structs/HD.html | 5 +- .../Documents/Structs/HD/HDError.html | 5 +- .../Resources/Documents/Structs/KeyPair.html | 111 +++++++++- .../Resources/Documents/Structs/Mnemonic.html | 5 +- .../Structs/Mnemonic/NumberOfWords.html | 5 +- .../Documents/Structs/PrivateKey.html | 5 +- .../Documents/Structs/PublicKey.html | 5 +- .../Contents/Resources/Documents/index.html | 5 +- .../Contents/Resources/Documents/search.json | 2 +- .../.docset/Contents/Resources/docSet.dsidx | Bin 49152 -> 53248 bytes docsets/.tgz | Bin 100399 -> 103489 bytes index.html | 5 +- search.json | 2 +- 76 files changed, 1102 insertions(+), 72 deletions(-) create mode 100644 Extensions/[UInt8].html create mode 100644 docsets/.docset/Contents/Resources/Documents/Extensions/[UInt8].html diff --git a/Enums.html b/Enums.html index b65ffe0..486f3ca 100644 --- a/Enums.html +++ b/Enums.html @@ -106,6 +106,9 @@ + + + + + + + + + +
  • +
    + + + + encrypted + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let encrypted: [UInt8]
    + +
    +
    +
    +
    +
  • diff --git a/Enums/Prefix/Keys/P256.html b/Enums/Prefix/Keys/P256.html index c3ee05d..793d6f6 100644 --- a/Enums/Prefix/Keys/P256.html +++ b/Enums/Prefix/Keys/P256.html @@ -112,6 +112,9 @@ + + +
  • +
    + + + + encrypted + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let encrypted: [UInt8]
    + +
    +
    +
    +
    +
  • diff --git a/Enums/Prefix/Watermark.html b/Enums/Prefix/Watermark.html index d13b00c..272f098 100644 --- a/Enums/Prefix/Watermark.html +++ b/Enums/Prefix/Watermark.html @@ -110,6 +110,9 @@ + + + + +
  • +
    + + + + [UInt8] + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +
    +
  • @@ -332,7 +354,7 @@

    Declaration

    diff --git a/Extensions/Array.html b/Extensions/Array.html index a90bbeb..7e2ee10 100644 --- a/Extensions/Array.html +++ b/Extensions/Array.html @@ -108,6 +108,9 @@
  • + + +
  • +
    + + + + bytes() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func bytes() -> [UInt8]
    + +
    +
    +
    +
    +
  • @@ -257,7 +286,7 @@

    Declaration

    diff --git a/Extensions/DataProtocol.html b/Extensions/DataProtocol.html index 26bc97a..94237ea 100644 --- a/Extensions/DataProtocol.html +++ b/Extensions/DataProtocol.html @@ -108,6 +108,9 @@
  • + + + + + + + + + + + + + +
  • +
    + + + + regular(fromSecretKey:andPassphrase:) + +
    +
    +
    +
    +
    +
    +

    Create a KeyPair from a Base58 Check encoded secret key, optionaly encrypted with a passphrase. +Supports both Tz1 (edsk… edes…) and Tz2 (spsk… spes…)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func regular(fromSecretKey secretKey: String, andPassphrase: String?) -> KeyPair?
    + +
    +
    +
    +
    +
  • @@ -530,12 +561,90 @@

    Declaration

  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func decryptSecretKey(_ secretKey: String, ellipticalCurve: EllipticalCurve, passphrase: String) -> KeyPair?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func pbkdf2(password: String, saltData: Data, keyByteCount: Int, prf: CCPseudoRandomAlgorithm, rounds: Int) -> Data?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func isSecretKeyEncrypted(_ secret: String) -> Bool
    + +
    +
    +
    +
    +
  • diff --git a/Structs/Mnemonic.html b/Structs/Mnemonic.html index d2a1583..8852006 100644 --- a/Structs/Mnemonic.html +++ b/Structs/Mnemonic.html @@ -108,6 +108,9 @@ + + + + + + + + + + + + + +
  • +
    + + + + encrypted + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let encrypted: [UInt8]
    + +
    +
    +
    +
    +
  • diff --git a/docsets/.docset/Contents/Resources/Documents/Enums/Prefix/Keys/P256.html b/docsets/.docset/Contents/Resources/Documents/Enums/Prefix/Keys/P256.html index c3ee05d..793d6f6 100644 --- a/docsets/.docset/Contents/Resources/Documents/Enums/Prefix/Keys/P256.html +++ b/docsets/.docset/Contents/Resources/Documents/Enums/Prefix/Keys/P256.html @@ -112,6 +112,9 @@ + + +
  • +
    + + + + encrypted + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let encrypted: [UInt8]
    + +
    +
    +
    +
    +
  • diff --git a/docsets/.docset/Contents/Resources/Documents/Enums/Prefix/Watermark.html b/docsets/.docset/Contents/Resources/Documents/Enums/Prefix/Watermark.html index d13b00c..272f098 100644 --- a/docsets/.docset/Contents/Resources/Documents/Enums/Prefix/Watermark.html +++ b/docsets/.docset/Contents/Resources/Documents/Enums/Prefix/Watermark.html @@ -110,6 +110,9 @@ + + + + +
  • +
    + + + + [UInt8] + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +
    +
  • @@ -332,7 +354,7 @@

    Declaration

    diff --git a/docsets/.docset/Contents/Resources/Documents/Extensions/Array.html b/docsets/.docset/Contents/Resources/Documents/Extensions/Array.html index a90bbeb..7e2ee10 100644 --- a/docsets/.docset/Contents/Resources/Documents/Extensions/Array.html +++ b/docsets/.docset/Contents/Resources/Documents/Extensions/Array.html @@ -108,6 +108,9 @@
  • + + +
  • +
    + + + + bytes() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func bytes() -> [UInt8]
    + +
    +
    +
    +
    +
  • @@ -257,7 +286,7 @@

    Declaration

    diff --git a/docsets/.docset/Contents/Resources/Documents/Extensions/DataProtocol.html b/docsets/.docset/Contents/Resources/Documents/Extensions/DataProtocol.html index 26bc97a..94237ea 100644 --- a/docsets/.docset/Contents/Resources/Documents/Extensions/DataProtocol.html +++ b/docsets/.docset/Contents/Resources/Documents/Extensions/DataProtocol.html @@ -108,6 +108,9 @@
  • + + + + + + + + + + + + + +
  • + +
    +
    +
    +
    +
    +

    Create a KeyPair from a Base58 Check encoded secret key, optionaly encrypted with a passphrase. +Supports both Tz1 (edsk… edes…) and Tz2 (spsk… spes…)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func regular(fromSecretKey secretKey: String, andPassphrase: String?) -> KeyPair?
    + +
    +
    +
    +
    +
  • @@ -530,12 +561,90 @@

    Declaration

  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func decryptSecretKey(_ secretKey: String, ellipticalCurve: EllipticalCurve, passphrase: String) -> KeyPair?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func pbkdf2(password: String, saltData: Data, keyByteCount: Int, prf: CCPseudoRandomAlgorithm, rounds: Int) -> Data?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func isSecretKeyEncrypted(_ secret: String) -> Bool
    + +
    +
    +
    +
    +
  • diff --git a/docsets/.docset/Contents/Resources/Documents/Structs/Mnemonic.html b/docsets/.docset/Contents/Resources/Documents/Structs/Mnemonic.html index d2a1583..8852006 100644 --- a/docsets/.docset/Contents/Resources/Documents/Structs/Mnemonic.html +++ b/docsets/.docset/Contents/Resources/Documents/Structs/Mnemonic.html @@ -108,6 +108,9 @@ + + + + +