algorithm used for bitcoin mining code example Example: what algorithm does bitcoin use SHA-256 hashing algorithm Quite Secure