Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
rogermiret-IBM committed Apr 27, 2019
2 parents 75de7b7 + cca008b commit 0cafa39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/CryptoSwift/Foundation/Utils+Foundation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// CryptoSwift
//
// Copyright (C) 2014-2017 Marcin Krzyżanowski <marcin@krzyzanowskim.com>
// Copyright (C) 2019 Roger Miret Giné <roger.miret@gmail.com>
// This software is provided 'as-is', without any express or implied warranty.
//
// In no event will the authors be held liable for any damages arising from the use of this software.
Expand All @@ -25,3 +26,7 @@ func perf(_ text: String, closure: () -> Void) {

print("\(text) \(executionTime)")
}

func rotl(_ a: UInt32, _ b: Int) -> UInt32 {
return (a << b) | (a >> (32 - b))
}

0 comments on commit 0cafa39

Please sign in to comment.