Native libsass plugin adding (file) digest functions
You need to have libsass already compiled or installed as a shared library (inclusive header files). It is then compiled via cmake
. See this example to compile it on windows via MinGW Compiler Suite:
git clone https://github.com/sass/libsass.git mingw32-make -C libsass BUILD=shared CC=gcc -j5 git clone https://github.com/mgreter/libsass-digest.git cd libsass-digest && mkdir build && cd build cmake -G "MinGW Makefiles" .. -DLIBSASS_DIR="..\..\libsass" mingw32-make CC=gcc -j5 && dir digest.dll
You may define LIBSASS_INCLUDE_DIR
and LIBSASS_LIBRARY_DIR
separately!
The following functions are available when you import the digest plugin.
md5($x)
- Returns the MD5 digest for $x.crc16($x)
- Returns a CRC16 checksum for $x.crc32($x)
- Returns a CRC32 checksum for $x.base64($x)
- Returns the Base64 text of $x.md5f($x)
- Returns the MD5 digest for file $x.crc16f($x)
- Returns a CRC16 checksum for file $x.crc32f($x)
- Returns a CRC32 checksum for file $x.base64f($x)
- Returns the Base64 text of file $x.� 2017 Marcel Greter
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4