Advertisement
Guest User

Untitled

a guest
Feb 7th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <?php
  2.  
  3. class credentialsstore {
  4.  
  5. private $username = "";
  6. private $password = "";
  7.  
  8. function __construct()
  9. {
  10. $username = "Raidverwaltung" ;
  11. $password = "ichbincool";
  12. }
  13.  
  14. function getHashedPassword(){
  15. return hash("sha256", $this->$password);
  16. }
  17.  
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement