diff --git a/src/tools/hash-text/hash-text.vue b/src/tools/hash-text/hash-text.vue index 30a97b80..45364a33 100644 --- a/src/tools/hash-text/hash-text.vue +++ b/src/tools/hash-text/hash-text.vue @@ -17,7 +17,7 @@
algos[algo.value](clearText.value)) +const clearText = ref('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lacus metus blandit dolor lacus natoque ad fusce aliquam velit.') const algo = ref('SHA256') +const hashedText = computed(() => algos[algo.value](clearText.value).toString()) const { copy } = useCopy({ source: hashedText, text: 'Token copied to the clipboard' })