Adjusted SecretField to allow for return of postgresql buffer object
for bytea type