Skip to content

Commit

Permalink
mine
Browse files Browse the repository at this point in the history
  • Loading branch information
abumq committed Oct 25, 2019
1 parent 448ddf9 commit 9284482
Show file tree
Hide file tree
Showing 29 changed files with 116 additions and 116 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ before_install:
- cmake --version
- g++ --version
# Crypto++ (We manually install it because we need Pem Pack as well)
- wget https://muflihun.github.io/downloads/cryptocpp.tar.gz
- wget https://amrayn.github.io/downloads/cryptocpp.tar.gz
- tar xf cryptocpp.tar.gz
- cd cryptopp-CRYPTOPP_5_6_5
- wget https://muflihun.github.io/downloads/pem_pack.zip
- wget https://amrayn.github.io/downloads/pem_pack.zip
- unzip pem_pack.zip
- cmake .
- make
Expand All @@ -28,7 +28,7 @@ before_install:
- sudo cp -a libgtest_main.so libgtest.so /usr/lib/
- cd ..
## Easylogging++
- wget https://github.com/zuhd-org/easyloggingpp/archive/master.zip
- wget https://github.com/amrayn/easyloggingpp/archive/master.zip
- unzip master.zip
- cd easyloggingpp-master
- cmake .
Expand Down
6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Copyright (c) 2017-present Zuhd Web Services
Copyright (c) 2017-present Amrayn Web Services
Copyright (c) 2017-present @abumusamq

https://github.com/zuhd-org/
https://zuhd.org
https://github.com/amrayn/
https://amrayn.com
https://muflihun.com

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

Mine is fast, memory-efficient, single-header minimal cryptography implementation for small-medium projects that cannot afford to link to external libraries.

[![Build Status](https://img.shields.io/travis/zuhd-org/mine/master.svg)](https://travis-ci.org/muflihun/mine)
[![Build Status](https://img.shields.io/travis/zuhd-org/mine/develop.svg)](https://travis-ci.org/muflihun/mine)
[![Version](https://img.shields.io/github/release/muflihun/mine.svg)](https://github.com/zuhd-org/mine/releases/latest)
[![Documentation](https://img.shields.io/badge/docs-doxygen-blue.svg)](https://muflihun.github.io/mine)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/zuhd-org/mine/blob/master/LICENCE)
[![Build Status](https://img.shields.io/travis/amrayn/mine/master.svg)](https://travis-ci.org/muflihun/mine)
[![Build Status](https://img.shields.io/travis/amrayn/mine/develop.svg)](https://travis-ci.org/muflihun/mine)
[![Version](https://img.shields.io/github/release/muflihun/mine.svg)](https://github.com/amrayn/mine/releases/latest)
[![Documentation](https://img.shields.io/badge/docs-doxygen-blue.svg)](https://amrayn.github.io/mine)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/amrayn/mine/blob/master/LICENCE)

[![Donate](https://muflihun.github.io/donate.png?v2)](https://www.paypal.me/zuhd/25)
[![Donate](https://amrayn.github.io/donate.png?v2)](https://amrayn.com/donate)

# Overview
It all started with [ripe](https://github.com/muflihun/ripe) that depends on third-party library (initially OpenSSL then Crypto++) linked statically. However after deploying [residue](https://github.com/muflihun/residue) with ripe to older distributions of linux, we learnt that portability is an issue for ripe as _minimal_ library (because of it's dependencies). So we started to implement standards forming _Mine_.
It all started with [ripe](https://github.com/amrayn/ripe) that depends on third-party library (initially OpenSSL then Crypto++) linked statically. However after deploying [residue](https://github.com/amrayn/residue) with ripe to older distributions of linux, we learnt that portability is an issue for ripe as _minimal_ library (because of it's dependencies). So we started to implement standards forming _Mine_.

We are very careful with our implementations and have over 50 [test cases](/test/) in-place.

Expand All @@ -25,7 +25,7 @@ Simply copy `mine.h` and `mine.cc` from [`package/`](/package/) directory to you
Alternatively, feel free to link it as shared or static library (you will need to compile yourself)

# Installation (CLI Tool)
You can either download binary for your platform via [releases](https://github.com/zuhd-org/mine/releases) page or using NPM
You can either download binary for your platform via [releases](https://github.com/amrayn/mine/releases) page or using NPM

```
npm install -g mine-linux@latest
Expand Down Expand Up @@ -96,11 +96,11 @@ You can contribute to the project by testing on various platforms (e.g, Windows,
# License

```
Copyright (c) 2017-present Muflihun Labs
Copyright (c) 2017-present Amrayn Web Services
Copyright (c) 2017-present @abumusamq
https://github.com/muflihun/
https://muflihun.github.io
https://github.com/amrayn/
https://amrayn.github.io
https://muflihun.com
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -116,4 +116,4 @@ See the License for the specific language governing permissions and
limitations under the License.
```

[banner]: https://raw.githubusercontent.com/zuhd-org/mine/develop/mine.png
[banner]: https://raw.githubusercontent.com/amrayn/mine/develop/mine.png
16 changes: 8 additions & 8 deletions build.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
// Mine ({{version}})
// Single header minimal cryptography library
//
// Copyright (c) 2017-present Zuhd Web Services
// Copyright (c) 2017-present Amrayn Web Services
// Copyright (c) 2017-present @abumusamq
//
// This library is released under the Apache 2.0 license
// https://github.com/zuhd-org/mine/blob/master/LICENSE
// https://github.com/amrayn/mine/blob/master/LICENSE
//
// https://github.com/zuhd-org/mine
// https://zuhd.org
// https://github.com/amrayn/mine
// https://amrayn.com
// https://muflihun.com
//
Expand All @@ -44,14 +44,14 @@
// Mine ({{version}})
// Single header minimal cryptography library
//
// Copyright (c) 2017-present Muflihun Labs
// Copyright (c) 2017-present Amrayn Web Services
// Copyright (c) 2017-present @abumusamq
//
// This library is released under the Apache 2.0 license
// https://github.com/muflihun/mine/blob/master/LICENSE
// https://github.com/amrayn/mine/blob/master/LICENSE
//
// https://github.com/muflihun/mine
// https://muflihun.github.io/mine
// https://github.com/amrayn/mine
// https://amrayn.github.io/mine
// https://muflihun.com
//
{{includes}}
Expand Down
10 changes: 5 additions & 5 deletions cli/mine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
//
// Mine is single header minimal cryptography library
//
// Copyright (c) 2017-present Zuhd Web Services
// Copyright (c) 2017-present Amrayn Web Services
//
// This library is released under the Apache 2.0 license
// https://github.com/muflihun/zuhd-org/blob/master/LICENSE
// https://github.com/amrayn/amrayn/blob/master/LICENSE
//
// https://github.com/zuhd-org/mine
// https://zuhd.org
// https://github.com/amrayn/mine
// https://amrayn.com
// https://muflihun.com
//

Expand Down Expand Up @@ -77,7 +77,7 @@ std::string normalizeBase16(std::string enc)

void displayVersion()
{
std::cout << "Mine - Minimal cryptography library" << std::endl << "Version: " << MINE_VERSION << std::endl << "https://muflihun.github.io" << std::endl;
std::cout << "Mine - Minimal cryptography library" << std::endl << "Version: " << MINE_VERSION << std::endl << "https://amrayn.github.io" << std::endl;
}

#define TRY try {
Expand Down
4 changes: 2 additions & 2 deletions cmake/FindEASYLOGGINGPP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# If ${EASYLOGGINGPP_USE_STATIC_LIBS} is ON then static libs are searched.
# In these cases ${EASYLOGGINGPP_LIBRARY} is also defined
#
# (c) 2017 Muflihun Labs
# (c) 2017 Amrayn Web Services
#
# https://github.com/muflihun/easyloggingpp
# https://github.com/amrayn/easyloggingpp
# https://muflihun.com
#

Expand Down
4 changes: 2 additions & 2 deletions cmake/FindMineCrypto.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# If ${MINE_CRYPTO_USE_STATIC_LIBS} is ON then static libs are searched.
# In these cases ${MINE_CRYPTO_LIBRARY} is also defined
#
# (c) 2017 Muflihun Labs
# (c) 2017 Amrayn Web Services
#
# https://github.com/muflihun/mine
# https://github.com/amrayn/mine
# https://muflihun.com
#

Expand Down
4 changes: 2 additions & 2 deletions cmake/FindRipe.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#
# If ${RIPE_USE_STATIC_LIBS} is ON then static libs are preferred over shared
#
# (c) 2017 Muflihun Labs
# (c) 2017 Amrayn Web Services
#
# https://github.com/muflihun/ripe
# https://github.com/amrayn/ripe
# https://muflihun.com
#

Expand Down
6 changes: 3 additions & 3 deletions dist/npm/darwin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "mine-darwin",
"version": "1.1.5",
"description": "Mine cryptography CLI tool (macOS)",
"homepage": "https://github.com/zuhd-org/mine",
"author": "Zuhd Web Services <opensource@zuhd.org>",
"homepage": "https://github.com/amrayn/mine",
"author": "Amrayn Web Services <opensource@amrayn.com>",
"license": "Apache-2.0",
"bin": "./mine",
"repository": {
"type": "git",
"url": "http://github.com/zuhd-org/mine.git"
"url": "http://github.com/amrayn/mine.git"
},
"files": [
"mine"
Expand Down
6 changes: 3 additions & 3 deletions dist/npm/linux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "mine-linux",
"version": "1.1.5",
"description": "Mine cryptography CLI tool (linux)",
"homepage": "https://github.com/zuhd-org/mine",
"author": "Zuhd Web Services <opensource@zuhd.org>",
"homepage": "https://github.com/amrayn/mine",
"author": "Amrayn Web Services <opensource@amrayn.com>",
"license": "Apache-2.0",
"bin": "./mine",
"repository": {
"type": "git",
"url": "http://github.com/zuhd-org/mine.git"
"url": "http://github.com/amrayn/mine.git"
},
"files": [
"mine"
Expand Down
10 changes: 5 additions & 5 deletions doxygen/README_DOXYGEN.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
</p>

![banner]

# Overview
Mine is fast, single-header minimal cryptography implementation for small-medium projects that cannot afford to link to external libraries.

# License

```
Copyright 2017 Muflihun Labs
Copyright 2017 Amrayn Web Services
https://github.com/muflihun/
https://muflihun.github.io
https://github.com/amrayn/
https://amrayn.github.io
https://muflihun.com
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -29,4 +29,4 @@ See the License for the specific language governing permissions and
limitations under the License.
```

[banner]: https://raw.githubusercontent.com/muflihun/mine/master/mine.png?
[banner]: https://raw.githubusercontent.com/amrayn/mine/master/mine.png?
2 changes: 1 addition & 1 deletion doxygen/customdoxygen.css
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ tr.heading h2 {
text-shadow: none;
}

div.image img[src="https://raw.githubusercontent.com/muflihun/residue/master/docs/Residue.png"] {
div.image img[src="https://raw.githubusercontent.com/amrayn/residue/master/docs/Residue.png"] {
width: 50%;
max-width: 446px;
}
8 changes: 4 additions & 4 deletions package/mine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
// Mine (1.1.4)
// Single header minimal cryptography library
//
// Copyright (c) 2017-present Zuhd Web Services
// Copyright (c) 2017-present Amrayn Web Services
// Copyright (c) 2017-present @abumusamq
//
// This library is released under the Apache 2.0 license
// https://github.com/muflihun/zuhd-org/blob/master/LICENSE
// https://github.com/amrayn/amrayn/blob/master/LICENSE
//
// https://github.com/zuhd-org/mine
// https://zuhd.org
// https://github.com/amrayn/mine
// https://amrayn.com
// https://muflihun.com
//
#include <algorithm>
Expand Down
8 changes: 4 additions & 4 deletions package/mine.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
// Mine (1.1.4)
// Single header minimal cryptography library
//
// Copyright (c) 2017-present Zuhd Web Services
// Copyright (c) 2017-present Amrayn Web Services
// Copyright (c) 2017-present @abumusamq
//
// This library is released under the Apache 2.0 license
// https://github.com/muflihun/zuhd-org/blob/master/LICENSE
// https://github.com/amrayn/amrayn/blob/master/LICENSE
//
// https://github.com/zuhd-org/mine
// https://zuhd.org
// https://github.com/amrayn/mine
// https://amrayn.com
// https://muflihun.com
//

Expand Down
8 changes: 4 additions & 4 deletions src/aes.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
// instead which is automatically generated and includes this file
// This is seperated to aid the development
//
// Copyright (c) 2017-present Zuhd Web Services
// Copyright (c) 2017-present Amrayn Web Services
//
// This library is released under the Apache 2.0 license
// https://github.com/zuhd-org/mine/blob/master/LICENSE
// https://github.com/amrayn/mine/blob/master/LICENSE
//
// https://github.com/zuhd-org/mine
// https://zuhd.org
// https://github.com/amrayn/mine
// https://amrayn.com
//
//
// Standard publication
Expand Down
8 changes: 4 additions & 4 deletions src/aes.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
// instead which is automatically generated and includes this file
// This is seperated to aid the development
//
// Copyright (c) 2017-present Zuhd Web Services
// Copyright (c) 2017-present Amrayn Web Services
//
// This library is released under the Apache 2.0 license
// https://github.com/zuhd-org/mine/blob/master/LICENSE
// https://github.com/amrayn/mine/blob/master/LICENSE
//
// https://github.com/zuhd-org/mine
// https://zuhd.org
// https://github.com/amrayn/mine
// https://amrayn.com
//

#ifdef MINE_CRYPTO_H
Expand Down
8 changes: 4 additions & 4 deletions src/base16.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
// instead which is automatically generated and includes this file
// This is seperated to aid the development
//
// Copyright (c) 2017-present Zuhd Web Services
// Copyright (c) 2017-present Amrayn Web Services
//
// This library is released under the Apache 2.0 license
// https://github.com/zuhd-org/mine/blob/master/LICENSE
// https://github.com/amrayn/mine/blob/master/LICENSE
//
// https://github.com/zuhd-org/mine
// https://zuhd.org
// https://github.com/amrayn/mine
// https://amrayn.com
//

#include <sstream>
Expand Down
8 changes: 4 additions & 4 deletions src/base16.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
// instead which is automatically generated and includes this file
// This is seperated to aid the development
//
// Copyright (c) 2017-present Zuhd Web Services
// Copyright (c) 2017-present Amrayn Web Services
//
// This library is released under the Apache 2.0 license
// https://github.com/zuhd-org/mine/blob/master/LICENSE
// https://github.com/amrayn/mine/blob/master/LICENSE
//
// https://github.com/zuhd-org/mine
// https://zuhd.org
// https://github.com/amrayn/mine
// https://amrayn.com
//

#ifdef MINE_CRYPTO_H
Expand Down
8 changes: 4 additions & 4 deletions src/base64.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
// instead which is automatically generated and includes this file
// This is seperated to aid the development
//
// Copyright (c) 2017-present Zuhd Web Services
// Copyright (c) 2017-present Amrayn Web Services
//
// This library is released under the Apache 2.0 license
// https://github.com/zuhd-org/mine/blob/master/LICENSE
// https://github.com/amrayn/mine/blob/master/LICENSE
//
// https://github.com/zuhd-org/mine
// https://zuhd.org
// https://github.com/amrayn/mine
// https://amrayn.com
//

#include <sstream>
Expand Down
Loading

0 comments on commit 9284482

Please sign in to comment.