Overview

cipher-block-size

Simple function to determine the block size of the passed-in openssl cipher.

Throws an exception if the cipher is unknown. You probably want to require('crypto') before use to initialize openssl's ciphers.