File encrypt and decrypt class with selected algorithm in Node.