diff options
| author | Jacky Zhao <[email protected]> | 2020-05-15 18:53:37 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-15 18:53:37 -0700 |
| commit | 2e4a87393d6fdf0320696faedecdc7699289fffb (patch) | |
| tree | 7afe72a155fd9f6afd1bdded4a214b6fbba77fa0 /backend/db/schemas.go | |
| parent | Merge pull request #24 from jackyzha0/update-readme (diff) | |
| parent | Add comments and clean up encryption (diff) | |
| download | ctrl-v-2e4a87393d6fdf0320696faedecdc7699289fffb.tar.xz ctrl-v-2e4a87393d6fdf0320696faedecdc7699289fffb.zip | |
Merge pull request #25 from jackyzha0/security
Add encryption to content when password is specified
Diffstat (limited to 'backend/db/schemas.go')
| -rw-r--r-- | backend/db/schemas.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/db/schemas.go b/backend/db/schemas.go index 4c73f82..d3551fc 100644 --- a/backend/db/schemas.go +++ b/backend/db/schemas.go @@ -14,4 +14,5 @@ type Paste struct { Expiry time.Time `bson:"expiry"` Title string Password string + Salt []byte } |