Metadata-Version: 2.1
Name: rotom
Version: 0.0.2
Summary: rotom
Home-page: https://github.com/NgHoangDat/rotom.git
Download-URL: https://github.com/NgHoangDat/rotom/archive/v0.0.2.tar.gz
Author: nghoangdat
Author-email: 18.hoang.dat.12@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: common
Provides-Extra: all

# Custom functions <!-- omit in toc -->

## Table of contents <!-- omit in toc -->

1. [Utility](#utility)
   1. [Hash file](#hash-file)
   2. [Hash string](#hash-string)

## Utility

### Hash file

```sh
rotom hash-file [target_file]
```

Supported options included:

- algo: Type of hash algorithm [Default: md5]
- length: Length of final output, truncated by shake_256, < 0 for full hash

---

### Hash string

```sh
rotom hash-str [input_str]
```

Supported options included:

- algo: Type of hash algorithm [Default: md5]
- length: Length of final output, truncated by shake_256, < 0 for full hash

---
