- openssl enc $openssl_decrypt "-$(sed -rn "${layer}s/[^ ]+ ([^ ]+) .*/\\1/p" "$keyfile")" \
- -nosalt -pass fd:37 37< <(sed -rn "${layer}s/^[^ ]+ [^ ]+ //p" "$keyfile")
+ openssl enc $openssl_decrypt "-$(keyfield "$layer" 2)" \
+ -nosalt -pass fd:37 37< <(keyfield "$layer" 3)