This package provides supplementary functions for 'jsrsasign' such like file I/O utilities.
Public page is https://kjur.github.io/jsrsasign .
github TOP|API doc|Wiki|Node sample
- readFile : read file as binary string
- readFileHexByBin : read file as binary then convert it to hexadecimal string
- readFileUTF8 : read file as UTF-8 string
- saveFile : save file as binary string
- saveFileBinByHex : convert a hexadecimal string to raw string then save it as file.
> var rsu = require('jsrsasign-util');
> var rawString = rsu.readFile("bar.bin");
> rsu.saveFileBinByHex("foo.bin", "30143abb...");