Latest 1.0.1
Homepage https://github.com/mohakshah/libb2s
License CC0
Platforms ios , osx , watchos , tvos
Authors

Version
License
Platform

libb2s is a stripped down version of libb2
that only contains the non-optimized reference implementation of BLAKE2s.
This version was created as a simple means to use BLAKE2s in iOS.
Although, it has also been tested to work well with macOS(clang) and desktop linux(gcc).

Installation

make

For a conventional installation, you can simply use the following commands:

make
make install

To change the installation prefix from the default /usr/local, use

make
make install --prefix=/something/else

To use the library, include blake2s.h in your source file and link with -lb2s.

CocoaPods

libb2s is also available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'libb2s', '~>1.0'

License

libb2s is available under the CC0 license. See the LICENSE file for more info.

Latest podspec

{
    "name": "libb2s",
    "version": "1.0.1",
    "summary": "A portable C library providing the BLAKE2s hashing function",
    "description": "libb2s is a stripped down version of [libb2](https://github.com/BLAKE2/libb2)nthat only contains the non-optimised reference implementation of BLAKE2s.nThis version was created as a simple means to use the BLAKE2s in iOS.nAlthough, it has been tested to work well with macOS(clang) and desktop linux(gcc)nas well.",
    "homepage": "https://github.com/mohakshah/libb2s",
    "license": {
        "type": "CC0",
        "file": "LICENSE"
    },
    "authors": {
        "Mohak Shah": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mohakshah/libb2s.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "",
        "osx": "",
        "watchos": "",
        "tvos": ""
    },
    "source_files": "src/*.{c,h}",
    "pod_target_xcconfig": {
        "HEADER_SEARCH_PATHS": ""$(PODS_TARGET_SRCROOT)/libb2s/src/""
    },
    "public_header_files": "src/blake2s.h"
}

Pin It on Pinterest

Share This