{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","params":[],"results":{"codes":[]}},"next":{"description":"","pages":[]},"title":"Hash","type":"basic","slug":"hash","excerpt":"","body":"Create hashes with the `hash` property on Application.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"app.hash.make(\\\"test\\\")\",\n      \"language\": \"swift\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Key\"\n}\n[/block]\nThe optional key provides an additional layer of security on your hashes.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"app.hash.key = \\\"my-secret-key\\\"\\napp.hash.make(\\\"test\\\")\",\n      \"language\": \"swift\"\n    }\n  ]\n}\n[/block]","updates":[],"order":11,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5768701b72cd4c0e000fad28","project":"57086fe855a4690e005de407","githubsync":"","version":{"version":"0.12","version_clean":"0.12.0","codename":"Client Clyde","is_stable":false,"is_beta":true,"is_hidden":false,"is_deprecated":true,"categories":["5768701b72cd4c0e000fad19","5768701b72cd4c0e000fad1a","5768701b72cd4c0e000fad1b","5768701b72cd4c0e000fad1c"],"_id":"5768701b72cd4c0e000fad18","releaseDate":"2016-06-20T22:37:15.641Z","__v":1,"createdAt":"2016-06-20T22:37:15.641Z","project":"57086fe855a4690e005de407"},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Guide","slug":"getting-started","order":1,"from_sync":false,"reference":false,"_id":"5768701b72cd4c0e000fad1a","createdAt":"2016-04-09T04:31:52.489Z","__v":0,"version":"5768701b72cd4c0e000fad18","project":"57086fe855a4690e005de407"},"user":"57086f3d447c410e00221bd1","__v":5,"createdAt":"2016-06-13T19:08:33.478Z","parentDoc":null}
Create hashes with the `hash` property on Application. [block:code] { "codes": [ { "code": "app.hash.make(\"test\")", "language": "swift" } ] } [/block] [block:api-header] { "type": "basic", "title": "Key" } [/block] The optional key provides an additional layer of security on your hashes. [block:code] { "codes": [ { "code": "app.hash.key = \"my-secret-key\"\napp.hash.make(\"test\")", "language": "swift" } ] } [/block]