You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+11-2
Original file line number
Diff line number
Diff line change
@@ -58,10 +58,19 @@ Swift Homomorphic Encryption requires:
58
58
> Swift Homomorphic Encryption relies on [SystemRandomNumberGenerator](https://developer.apple.com/documentation/swift/systemrandomnumbergenerator) as a cryptographically secure random number generator, which may have platform-dependent behavior.
59
59
60
60
Swift Homomorphic Encryption is available as a Swift Package Manager package.
61
-
To use Swift Homomorphic Encryption, add the following dependency in your `Package.swift`:
61
+
To use Swift Homomorphic Encryption, choose a [tag](https://github.com/apple/swift-homomorphic-encryption/tags).
62
+
Then, add the following dependency in your `Package.swift`, adding the commit hash associated with the tag.
> Due to the use of `unsafeFlags` in Swift Homomorphic Encryption, you shouldn't depend on a git tag, which could prevent tagged releases of downstream projects.
71
+
> In particular, without the `cross-module-optimization` flag, performance degrades dramatically.
72
+
> One workaround is to add `SwiftHomomorphicEncryption` as a submodule rather than a package dependency.
Copy file name to clipboardexpand all lines: Sources/HomomorphicEncryption/HomomorphicEncryption.docc/UsingSwiftHomomorphicEncryption.md
+11-2
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,19 @@ Swift Homomorphic Encryption requires:
11
11
> Note: Swift Homomorphic Encryption relies on [SystemRandomNumberGenerator](https://developer.apple.com/documentation/swift/systemrandomnumbergenerator) as a cryptographically secure random number generator, which may have platform-dependent behavior.
12
12
13
13
Swift Homomorphic Encryption is available as a Swift Package Manager package.
14
-
To use Swift Homomorphic Encryption, add the following dependency in your `Package.swift`:
14
+
To use Swift Homomorphic Encryption, choose a [tag](https://github.com/apple/swift-homomorphic-encryption/tags).
15
+
Then, add the following dependency in your `Package.swift`, adding the commit hash associated with the tag.
> Due to the use of `unsafeFlags` in Swift Homomorphic Encryption, you shouldn't depend on a git tag, which could prevent tagged releases of downstream projects.
24
+
> In particular, without the `cross-module-optimization` flag, performance degrades dramatically.
25
+
> One workaround is to add `SwiftHomomorphicEncryption` as a submodule rather than a package dependency.
0 commit comments