arosspope / cipher-crypt

A cryptographic tomb of ciphers forgotten by time.
Apache License 2.0
42 stars 8 forks source link

Safely access the alphabet consts #3

Closed arosspope closed 7 years ago

arosspope commented 7 years ago

I feel like the manner in which the alphabet array is being accessed is unsafe. Would much prefer access to be performed through functions that return errs - rather than panicking when we encounter an out of bounds error (for example)

arosspope commented 7 years ago

See PR #6