Libsalty2 provides bindings to libsodium.
NOTICE: This is a fork of the original, which is no longer maintained. Hence the
2
appended.
For Elixir, based on Erlang nif.
Credits to Libsodium project by Frank Denis and Contributors. Libsodium is licensed under ISC License.
Libsalty2 requires that libsodium 1.0.12 or later is already installed on your system. If you receive compiler warnings or a missing symbol error when trying to use libsalty, it's likely that you're running on a system with an old version of libsodium.
The package can be installed by adding libsalty2
to your list of dependencies
in mix.exs
:
def deps do
[
{:libsalty2, "~> 0.2.1"}
]
end
Copyright 2017 Project ArteMisc
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.