2
0

constants.js 443 B

123456789101112131415161718
  1. /*
  2. * Copyright 2018 Scytl Secure Electronic Voting SA
  3. *
  4. * All rights reserved
  5. *
  6. * See our extended copyright notice in *file 'Copyright.txt' which is part of this source code package
  7. */
  8. /* jshint node:true */
  9. 'use strict';
  10. /**
  11. * Defines constants for the secure random service.
  12. */
  13. module.exports = Object.freeze({
  14. SECURE_RANDOM_MAX_NUM_BYTES: 512,
  15. SECURE_RANDOM_MAX_NUM_DIGITS: 512,
  16. SECURE_RANDOM_DEFAULT_NUM_SEED_BYTES: 32
  17. });