Current File : /home/tradevaly/text.tradevaly.com.bd/node_modules/des.js/test/fixtures.js
'use strict';

exports.bin = function bin(str) {
  return parseInt(str.replace(/[^01]/g, ''), 2);
}