Skip to content

Commit 70b8d60

Browse files
authored
Merge pull request #289 from rmnblm/patch-1
Add FOSS Compliance to SipHash
2 parents 472e8f5 + 5766a61 commit 70b8d60

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Source/Shared/Extensions/Hasher+constantAccrossExecutions.swift

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
//
11+
//===----------------------------------------------------------------------===//
12+
/// This file implements SipHash-2-4 and SipHash-1-3
13+
/// (https://131002.net/siphash/).
14+
///
15+
/// This file is based on the reference C implementation, which was released
16+
/// to public domain by:
17+
///
18+
/// * Jean-Philippe Aumasson <[email protected]>
19+
/// * Daniel J. Bernstein <[email protected]>
20+
//===----------------------------------------------------------------------===//
121

222
import Foundation
323

0 commit comments

Comments
 (0)