Skip to content

Commit

Permalink
iOS: add public init for RainbowSlothStorageState
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdapioneer committed Nov 27, 2023
1 parent c94b6b9 commit eea8c8a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ios/RainbowSloth/Sources/RainbowSloth/RainbowSloth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ private let P256_PUBLIC_KEY_SIZE = 32
public struct RainbowSlothStorageState {
public var handle: String
public var salt: Data

public init(handle: String, salt: Data) {
self.handle = handle
self.salt = salt
}
}

/// Implementation of the RainbowSloth algorithm for tuneable password-based key stretching on iOS using the SecureEnclave (SE).
Expand Down

0 comments on commit eea8c8a

Please sign in to comment.