Skip to content

Commit

Permalink
Add documents
Browse files Browse the repository at this point in the history
  • Loading branch information
imkcat committed Dec 30, 2017
1 parent e015f13 commit 471fadd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions Sources/Cryptos/Argon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public struct CatArgon2Context {
}
}

/// Initialize the context.
public init() {}

}
Expand Down
8 changes: 4 additions & 4 deletions Sources/Cryptos/MessageDigest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ public enum CatMD6HashLength: CInt {
case bit512 = 512
}

public class CatMD6Context: CatCryptoContext {
/// Context for MD6 crypto.
public struct CatMD6Context {

/// Desired bit-length of the hash function output.
public var hashLength: CatMD6HashLength = .bit512

public override init() {
super.init()
}
/// Initialize the context.
public init() {}

}

Expand Down
2 changes: 1 addition & 1 deletion Sources/Cryptos/SHA.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public struct CatSHA2Context {
/// Desired bit-length of the hash function output.
public var hashLength: CatSHA2HashLength = .bit512

/// Initialize context.
/// Initialize the context.
public init() {}

}
Expand Down

0 comments on commit 471fadd

Please sign in to comment.