Squirrel3 - Squirrel3 hash/noise function from Squirrel Eiserloh

Related tags

Security prng swift5
Overview

Squirrel3

A Swift implementation of the Squirrel3 hash function and pseudo-random number generator as invented by Squirrel Eiserloh, described in detail at the 2017 GDC Math for Game Programmers talk Noise-Based RNG.

You might also like...
Matft is Numpy-like library in Swift. Function name and usage is similar to Numpy.
Matft is Numpy-like library in Swift. Function name and usage is similar to Numpy.

Numpy-like library in swift. (Multi-dimensional Array, ndarray, matrix and vector library)

A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.
A SwiftUI implementation of React Hooks. Enhances reusability of stateful logic and gives state and lifecycle to function view.

SwiftUI Hooks A SwiftUI implementation of React Hooks. Enhances reusability of stateful logic and gives state and lifecycle to function view. Introduc

This is BouncyBall, from Develop in Swift Explorations Unit 3, completed into Part 3, where the onTapped function gets a little squirrelly

This is BouncyBall, from Develop in Swift Explorations Unit 3, completed into Part 3, where the onTapped function gets a little squirrelly. Use this version when you add a function to be called when the funnel is tapped and taps aren't registered in the simulator.

The program calculates the approximate function to the given graph using the Fourier series
The program calculates the approximate function to the given graph using the Fourier series

Ряды фурье Программа вычисляет приближенную функцию к заданной графиком с помощь

PoC of function hooking in Swift

SWRoute is a tiny Swift wrapper over rd_route(). It allows you to route (hook) quite any function/method with another function/method or even a closur

An e-commerce app with some function: searching, like product, demo paying and view product

Emarket_060921 An e-commerce app with some function: searching, like product, demo paying and view product. I have developed this app all by myself, b

IOS Swift : Explain Higher-order Function Examples

IOS Swift : Explain Higher-order Function Examples

Efs - Easy function mocking/stubbing in Swift

Efs Efs, as the pronounced plural of letter F (for function), is a simple mockin

 API-Gateway/ Lambda-Function Structure
API-Gateway/ Lambda-Function Structure

This was an app I meant to release on the Apple App Store, can't do that now so here's the code

LCPullRefresh - Use UIActivityIndicatorView to provide a pull-to-refresh function for UIScrollView.

LCPullRefresh Use UIActivityIndicatorView to provide a pull-to-refresh function for UIScrollView. Requirements iOS 8.0+ Xcode 11.0+ Usage Pull-up refr

Releases(1.1.0)
  • 1.1.0(Jan 2, 2022)

    • Updates Squirrel3 with a new SeededRandomNumberGenerator protocol, which formalizes the ability to see a random number generator (specifically with a UInt64 seed), and references a constant seed property and a variable position property for the generator.
    • updated Squirrel3 implementation to mutate on the position and keep the initial seed constant. With the two values together, the next generated random value is deterministic.
    • adds tests to verify the determinism as well as seed and position values.
    Source code(tar.gz)
    Source code(zip)
  • 1.0.1(Dec 30, 2021)

    • fixed public access to the swift PRNG struct under Squirrel3
    • added basic DocC comments
    • added test suite to validate fairness and randomness of Squirrel3
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0(Dec 30, 2021)

Owner
Joseph Heck
Joseph Heck
Swift HybridCrypto is simple customizable implementation of hybrid cryptography (AES+RSA+Hash) recommended by OWASP.

HybridCrypto (Swift) HybridCrypto is simple implementation of hybrid cryptography following recommendations by OWASP. Prerequisites: Minimum iOS SDK:

UTNGY Pisal 2 Sep 6, 2022
Siri Shortcuts extension for calculating NN-based image hash.

NNHash Siri Shortcuts extension for calculating NN-based image hash. Based on nhcalc.

Yi Xie 3 Aug 9, 2021
A swift libray to calculate file hash.

FileHash A swift libray to calculate file hash. Usage let path = "file_path_string" let md5 = Hasher.md5HashOfFile(atPath: path) let sha1

C-凡 4 Sep 11, 2022
This library project contains a few noise generators created in Swift.

SwiftNoiseGenerator This library project contains a few noise generators created in Swift. contains: Perlin Noise Simplex Noise How to use Edit your P

Ichiro HIROTA 1 Jan 20, 2022
*Random Smooth Cloudy* Noise for SwiftUI

Noise Generate random smooth cloudy noise. Install Swift Package .

Anton Heestand 7 Dec 7, 2022
Which contacts changed outside your iOS app? Better CNContactStoreDidChange notification: get real changes, without the noise.

ContactsChangeNotifier Which contacts changed outside your iOS app? Better CNContactStoreDidChange notification: Get real changes, without the noise.

Yonat Sharon 5 Oct 31, 2022
Swift HybridCrypto is simple customizable implementation of hybrid cryptography (AES+RSA+Hash) recommended by OWASP.

HybridCrypto (Swift) HybridCrypto is simple implementation of hybrid cryptography following recommendations by OWASP. Prerequisites: Minimum iOS SDK:

UTNGY Pisal 2 Sep 6, 2022
Swift implementations for function currying

Curry Swift implementations for function currying. For more info on function currying in Swift, please refer to this blog post Version Compatibility N

thoughtbot, inc. 487 Oct 25, 2022
Simple countdown UILabel with morphing animation, and some useful function.

CountdownLabel Simple countdown UILabel with morphing animation, and some useful function. features Simple creation Easily get status of countdown fro

keishi suzuki 903 Dec 29, 2022