Skip to content

Commit

Permalink
Merge pull request #337 from bygri/master
Browse files Browse the repository at this point in the history
Make Hash initializer public
  • Loading branch information
loganwright committed May 30, 2016
2 parents 974c1c4 + 6b7d788 commit 435a312
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Sources/Vapor/Hash/Hash.swift
Expand Up @@ -23,6 +23,13 @@ public class Hash {
*/
public var driver: HashDriver = SHA2Hasher(variant: .sha256)

/**
Initialize the Hash.
*/
public init() {

}

/**
Hashes a string using the `Hash` class's
current `HashDriver` and `applicationString` salt.
Expand Down

0 comments on commit 435a312

Please sign in to comment.