Change password in blog.db

I would like to change or add a new username and password for the blog.db (sqlite). I see where the initial database was created, the password and salt were added manually. I would like to change the password manually and have it work with the authentication so I need to know how to come up with the hash and salt field values for my user. Thanks

Never mind, I figured it out. If anyone is interested, let me know.

I would… thanks ;)

I would like to know your solution as well.




    <?php $user = new User(); ?>

    <?php echo crypt('yiinotes', $user->hashPassword('yiinotes')); ?>