project-callisto/callisto-core

encryption functions should be agnostic to encode_prefix VS salt

coilysiren opened this issue · 1 comments

encryption functions should be agnostic to encode_prefix VS salt

Determining whether to use report. encode_prefix or report.salt should be a concern of the report model, and all encryption prefix generation logic needs to be moved to the report model. All the encryption focused functions should only take in a single argument, as opposed to taking in both salt and encode_prefix